Dan Korostelev пре 10 година
родитељ
комит
25599b55c9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      std/cs/_std/Reflect.hx

+ 1 - 1
std/cs/_std/Reflect.hx

@@ -87,7 +87,7 @@ import cs.system.reflection.*;
 	public static function fields( o : Dynamic ) : Array<String>
 	{
 		var ihx = Lib.as(o,IHxObject);
-		if (o != null)
+		if (ihx != null)
 		{
 			var ret = [];
 			untyped ihx.__hx_getFields(ret);