Nicolas Cannasse 19 lat temu
rodzic
commit
f6688e4c89
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {