Browse Source

fixed toString

Nicolas Cannasse 16 years ago
parent
commit
b2afc98fea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/List.hx

+ 1 - 1
std/List.hx

@@ -236,7 +236,7 @@ class List<T> {
 				first = false;
 			else
 				s.add(", ");
-			s.add(l[0]);
+			s.add(Std.string(l[0]));
 			l = l[1];
 		}
 		s.add("}");