Nicolas Cannasse 13 年之前
父節點
當前提交
81bcc06b0d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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]