Explorar o código

default value fix

Simon Krajewski %!s(int64=11) %!d(string=hai) anos
pai
achega
204daef1a5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();