update NOTICE and LICENSE
[nit.git] / tests / test_calls.nit
index 6e097be..b8edf26 100644 (file)
 # limitations under the License.
 
 class A
-       meth foo
+       fun foo
        do
                1.output
        end
-       meth bar
+       fun bar
        do
                foo
        end
@@ -28,8 +28,8 @@ class A
 end
 
 class B
-special A
-       redef meth foo
+       super A
+       redef fun foo
        do
                2.output
        end
@@ -38,8 +38,8 @@ special A
 end
 
 class C
-special B
-       meth baz
+       super B
+       fun baz
        do
                bar
        end