Browse Source

[cs] minor fix in List array typing

Caue Waneck 13 years ago
parent
commit
2139de788d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/List.hx

+ 1 - 1
std/List.hx

@@ -49,7 +49,7 @@ class List<T> {
 		Add an element at the end of the list.
 	**/
 	public function add( item : T ) {
-		var x = #if neko untyped __dollar__array(item,null) #else [item] #end;
+		var x:Array<Dynamic> = #if neko untyped __dollar__array(item,null) #else [item] #end;
 		if( h == null )
 			h = x;
 		else