Browse Source

Lua: use "has_enum" for enum reflect

Justin Donaldson 9 years ago
parent
commit
a6bbf5f47c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/lua/Boot.hx

+ 1 - 1
std/lua/Boot.hx

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