浏览代码

purge Dynamic

Simon Krajewski 12 年之前
父节点
当前提交
03f3669676
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/Lambda.hx

+ 1 - 1
std/Lambda.hx

@@ -203,7 +203,7 @@ class Lambda {
 	/**
 		Tells if Iterable [it] does not contain any element.
 	**/
-	public static function empty( it : Iterable<Dynamic> ) : Bool {
+	public static function empty<T>( it : Iterable<T> ) : Bool {
 		return !it.iterator().hasNext();
 	}