Explorar o código

fixed isEmpty.

Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
f6688e4c89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/List.hx

+ 1 - 1
std/List.hx

@@ -79,7 +79,7 @@ class List<T> {
 	}
 
 	public function isEmpty() : Bool {
-		return (h != null);
+		return (h == null);
 	}
 
 	public function remove( v : T ) : Bool {