Browse Source

fix neko enum toString

Nicolas Cannasse 19 years ago
parent
commit
660f8cc7c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/Unserializer.hx

+ 1 - 1
std/haxe/Unserializer.hx

@@ -228,7 +228,7 @@ class Unserializer {
 			#if neko
 			var e : Dynamic = {
 				tag : null,
-				__string : function() { return untyped neko.Boot.__enum_str(this).__s; },
+				__string : function() { return untyped neko.Boot.__enum_str(this); },
 				__enum__ : null
 			};
 			#else true