Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
2d9c07f203
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      std/Type.hx

+ 4 - 0
std/Type.hx

@@ -265,6 +265,10 @@ class Type {
 			a.remove("__interfaces__");
 			a.remove("__super__");
 			a.remove("__construct__");
+			#if js
+			a.remove("toString");
+			a.remove("prototype");
+			#end
 			#if neko
 			a.remove("prototype");
 			a.remove("new");