Franco Ponticelli 14 年 前
コミット
814ac64fa5
1 ファイル変更1 行追加2 行削除
  1. 1 2
      std/php/_std/Reflect.hx

+ 1 - 2
std/php/_std/Reflect.hx

@@ -74,8 +74,7 @@
 			return false;
 			return false;
 		if(untyped __call__("is_object", v))
 		if(untyped __call__("is_object", v))
 			return untyped __php__("$v instanceof _hx_anonymous") || Type.getClass(v) != null;
 			return untyped __php__("$v instanceof _hx_anonymous") || Type.getClass(v) != null;
-		if(untyped __php__("is_string($v) && !_hx_is_lambda($v)")) return true;
-		return false;
+		return untyped __php__("is_string($v) && !_hx_is_lambda($v)");
 	}
 	}
 
 
 	public static function deleteField( o : Dynamic, f : String ) : Bool {
 	public static function deleteField( o : Dynamic, f : String ) : Bool {