Browse Source

minor fix in __enum_str

Nicolas Cannasse 17 years ago
parent
commit
75d2dc2a80
1 changed files with 2 additions and 3 deletions
  1. 2 3
      std/neko/Boot.hx

+ 2 - 3
std/neko/Boot.hx

@@ -43,9 +43,8 @@ class Boot {
 				s += untyped ",".__s;
 			try {
 				s += untyped __dollar__string(e.args[i]);
-			} catch( e : Dynamic ) {
-				e.__string = old;
-				throw e;
+			} catch( err : Dynamic ) {
+				s += __tmp_str();
 			}
 			i += 1;
 		}