nullable: convert lib, tools and tests
[nit.git] / tests / base_eq.nit
index b2db161..0b0a618 100644 (file)
@@ -27,7 +27,7 @@ end
 
 class B
 special A
-       redef meth ==(a: Object): Bool
+       redef meth ==(a: nullable Object): Bool
        do
                if not a isa B then
                        return false
@@ -36,7 +36,7 @@ special A
                return a.a is _a
        end
 
-       redef init(b: Int)
+       init(b: Int)
        do
                _a = b
        end