瀏覽代碼

keep flash Xml.compare

Simon Krajewski 13 年之前
父節點
當前提交
4dd9a534a8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/flash/_std/Xml.hx

+ 1 - 1
std/flash/_std/Xml.hx

@@ -68,7 +68,7 @@ enum XmlType {
 		return wrap( root, Xml.Document );
 	}
 	
-	#if as3 @:hack public #end static function compare( a : Xml, b : Xml ) : Bool {
+	@:keep #if as3 @:hack public #end static function compare( a : Xml, b : Xml ) : Bool {
 		return a == null ? b == null : (b == null ? false : a._node == b._node);
 	}