Browse Source

keep flash Xml.compare

Simon Krajewski 13 years ago
parent
commit
4dd9a534a8
1 changed files with 1 additions and 1 deletions
  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);
 	}