Nicolas Cannasse 13 anni fa
parent
commit
81bcc06b0d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      std/List.hx

+ 1 - 1
std/List.hx

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