syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / base_gen_f.nit
index 57d0c70..66ca5c6 100644 (file)
 import kernel
 
 class G[E: G[E]]
-       meth ide(e: E): E
+       fun ide(e: E): E
        do
                return e
        end
-       meth foo is abstract
+       fun foo is abstract
 end
 
 class G1
 special G[G1]
-       redef meth foo
+       redef fun foo
        do
                1.output
        end
@@ -36,7 +36,7 @@ end
 
 class G2
 special G[G2]
-       redef meth foo
+       redef fun foo
        do
                2.output
        end