Nicolas Cannasse 13 years ago
parent
commit
81bcc06b0d
1 changed files with 1 additions and 1 deletions
  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.
 		Push an element at the beginning of the list.
 	**/
 	**/
 	public function push( item : T ) {
 	public function push( item : T ) {
-		var x = #if neko
+		var x : Array<Dynamic> = #if neko
 			untyped __dollar__array(item,h)
 			untyped __dollar__array(item,h)
 		#else
 		#else
 			[item,h]
 			[item,h]