update NOTICE and LICENSE
[nit.git] / tests / base_gen_f.nit
index 57d0c70..5d5cb4b 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
+       super G[G1]
+       redef fun foo
        do
                1.output
        end
@@ -35,8 +35,8 @@ special G[G1]
 end
 
 class G2
-special G[G2]
-       redef meth foo
+       super G[G2]
+       redef fun foo
        do
                2.output
        end