update NOTICE and LICENSE
[nit.git] / tests / test_super_param.nit
index 293bbb2..1ae39e2 100644 (file)
 import kernel
 
 class A
-       meth foo(i: Int): Int
+       fun foo(i: Int): Int
        do
                return i + 10
        end
 end
 
 class B
-special A
-       redef meth foo(i: Int): Int
+       super A
+       redef fun foo(i: Int): Int
        do
                return super + 5
        end