Nicolas Cannasse пре 19 година
родитељ
комит
883229f07e
1 измењених фајлова са 1 додато и 1 уклоњено
  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