Browse Source

default value fix

Simon Krajewski 11 năm trước cách đây
mục cha
commit
204daef1a5
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

@@ -575,7 +575,7 @@ class XmlParser {
 					name : a,
 					opt : opt,
 					t : xtype(e),
-					value : v
+					value : v == "" ? null : v
 				});
 			}
 			var ret = args.last();