syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / base_eq_null_notnull.nit
index 67af307..b684a09 100644 (file)
 import end
 
 class Object
-       meth ==(o: nullable Object): Bool do return self is o
-       meth !=(o: nullable Object): Bool do return not (self == o)
-       meth output is intern
+       fun ==(o: nullable Object): Bool do return self is o
+       fun !=(o: nullable Object): Bool do return not (self == o)
+       fun output is intern
 end
 
 class Bool
-       redef meth output is intern
+       redef fun output is intern
 end
 
 class A