Browse Source

Lua: use "has_enum" for enum reflect

Justin Donaldson 9 năm trước cách đây
mục cha
commit
a6bbf5f47c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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";