update NOTICE and LICENSE
[nit.git] / tests / test_super_gen.nit
index b1f12c4..bb749df 100644 (file)
@@ -17,7 +17,7 @@
 import kernel
 
 class A[E: Object, F: Object]
-       meth foo(e: E, f: F): F
+       fun foo(e: E, f: F): F
        do
                0.output
                return f
@@ -25,8 +25,8 @@ class A[E: Object, F: Object]
 end
 
 class B[G: Int]
-special A[Bool,G]
-       redef meth foo(b: Bool, g: G): G
+       super A[Bool,G]
+       redef fun foo(b: Bool, g: G): G
        do
                1.output
                super