Browse Source

display for function.

Nicolas Cannasse 19 years ago
parent
commit
269420c2ac
1 changed files with 4 additions and 0 deletions
  1. 4 0
      std/flash9/Boot.hx

+ 4 - 0
std/flash9/Boot.hx

@@ -122,6 +122,10 @@ class Boot extends flash.display.MovieClip {
 				s += __string_rec(v[i],str);
 			}
 			return s+"]";
+		default:
+			switch( untyped __typeof__(v) ) {
+			case "function": return "<function>";
+			}
 		}
 		return new String(v);
 	}