Browse Source

minor : prevent Std.string to be called in stringRec

Nicolas Cannasse 13 years ago
parent
commit
3055b4313b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/Boot.hx

+ 1 - 1
std/js/Boot.hx

@@ -72,7 +72,7 @@ class Boot {
 	}
 	}
 
 
 	@:feature("has_enum")
 	@:feature("has_enum")
-	private static function __string_rec(o,s) {
+	private static function __string_rec(o,s:String) {
 		untyped {
 		untyped {
 			if( o == null )
 			if( o == null )
 			    return "null";
 			    return "null";