Browse Source

Lua: __name__ references need to be treated as simple lua tables

Justin Donaldson 10 năm trước cách đây
mục cha
commit
414adc59d8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/lua/_std/Type.hx

+ 1 - 1
std/lua/_std/Type.hx

@@ -59,7 +59,7 @@ enum ValueType {
 
 	public static function getEnumName( e : Enum<Dynamic> ) : String {
 		var a : Array<String> = untyped e.__ename__;
-		return a.join(".");
+		return lua.Table.concat(untyped a.__name__,'.');
 	}
 
 	public static function resolveClass( name : String ) : Class<Dynamic> untyped {