Explorar o código

Lua: use "has_enum" for enum reflect

Justin Donaldson %!s(int64=9) %!d(string=hai) anos
pai
achega
a6bbf5f47c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/lua/Boot.hx

+ 1 - 1
std/lua/Boot.hx

@@ -185,7 +185,7 @@ class Boot {
 		return result;
 	}
 
-	@:ifFeature("may_print_enum")
+	@:ifFeature("has_enum")
 	static function __string_rec(o : Dynamic, s = 0) {
 		return switch(untyped __type__(o)){
 			case "nil": "null";