syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / error_spe_ret.nit
index 46375ff..313c2ce 100644 (file)
 # limitations under the License.
 
 class A
-meth toto: Int do return 1 end
+fun toto: Int do return 1 end
 end
 
 class B
 special A
-redef meth toto: Char do return 'a' end
+redef fun toto: Char do return 'a' end
 end