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);