2
0
Nicolas Cannasse 19 жил өмнө
parent
commit
7889f75b52
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      std/Reflect.hx

+ 2 - 1
std/Reflect.hx

@@ -271,7 +271,8 @@ class Reflect {
 			if( t != null ) o.__proto__ = null;
 			untyped __js__("
 				for(var i in o)
-					a.push(i);
+					if( i != \"__proto__\" )
+						a.push(i);
 			");
 			if( t != null ) o.__proto__ = t;
 			var i = 0;