瀏覽代碼

Lua: use "has_enum" for enum reflect

Justin Donaldson 9 年之前
父節點
當前提交
a6bbf5f47c
共有 1 個文件被更改,包括 1 次插入1 次删除
  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";