Browse Source

default defPublic argument of XmlParser.xclassField to false so we do not get null for isPublic

Simon Krajewski 11 năm trước cách đây
mục cha
commit
50a6bce3ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/haxe/rtti/XmlParser.hx

+ 1 - 1
std/haxe/rtti/XmlParser.hx

@@ -393,7 +393,7 @@ class XmlParser {
 		};
 	}
 
-	function xclassfield( x : Fast, ?defPublic ) : ClassField {
+	function xclassfield( x : Fast, ?defPublic = false ) : ClassField {
 		var e = x.elements;
 		var t = xtype(e.next());
 		var doc = null;