Explorar o código

purge Dynamic

Simon Krajewski %!s(int64=12) %!d(string=hai) anos
pai
achega
03f3669676
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 	}