syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / base_init_simple.nit
index bab4c7d..2872514 100644 (file)
@@ -3,7 +3,7 @@ import kernel
 class A
        init do 'A'.output
        init init2 do 'a'.output
-       meth foo do '\n'.output
+       fun foo do '\n'.output
 end
 
 class B