Nicolas Cannasse 19 år sedan
förälder
incheckning
883229f07e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      std/Type.hx

+ 1 - 1
std/Type.hx

@@ -142,7 +142,7 @@ class Type {
 			cl = Reflect.field(untyped neko.Boot.__classes,path[0]);
 			var i = 1;
 			while( cl != null && i < path.length ) {
-				cl = Reflect.field(cl,name[i]);
+				cl = Reflect.field(cl,path[i]);
 				i += 1;
 			}
 		#else error