X-Git-Url: http://nitlanguage.org diff --git a/tests/base_var_type_evolution_nullable.nit b/tests/base_var_type_evolution_nullable.nit index 1607d3b..a8766fe 100644 --- a/tests/base_var_type_evolution_nullable.nit +++ b/tests/base_var_type_evolution_nullable.nit @@ -13,10 +13,10 @@ # limitations under the License. import end - class Object - fun ==(o: nullable Object): Bool do return self is o + fun ==(o: nullable Object): Bool do return self.is_same_instance(o) fun !=(o: nullable Object): Bool do return not self == o + fun is_same_instance(o: nullable Object): Bool is intern end class A end