update NOTICE and LICENSE
[nit.git] / tests / base_init_inherit4.nit
index f269809..1ac2f5e 100644 (file)
@@ -2,7 +2,7 @@ import kernel
 
 redef interface Object
 
-       meth foo
+       fun foo
        do
                'a'.output
                '\n'.output
@@ -10,7 +10,7 @@ redef interface Object
 end
 
 interface M
-       redef meth foo
+       redef fun foo
        do
                'm'.output
                super
@@ -23,7 +23,7 @@ class B
                'B'.output
        end
 
-       redef meth foo
+       redef fun foo
        do
                'b'.output
                super
@@ -31,7 +31,7 @@ class B
 end
 
 interface N
-       redef meth foo
+       redef fun foo
        do
                'n'.output
                super
@@ -39,9 +39,9 @@ interface N
 end
 
 class O
-special M
-special B
-       redef meth foo
+       super M
+       super B
+       redef fun foo
        do
                'o'.output
                super
@@ -49,9 +49,9 @@ special B
 end
 
 class P
-special B
-special N
-       redef meth foo
+       super B
+       super N
+       redef fun foo
        do
                'p'.output
                super
@@ -59,19 +59,19 @@ special N
 end
 
 class Q
-#alt0#special M
-#alt0#special B
-#alt0#special N
+       #alt0#super M
+       #alt0#super B
+       #alt0#super N
 
-#alt1#special O
-#alt1#special N
+       #alt1#super O
+       #alt1#super N
 
-#alt2#special M
-#alt2#special P
+       #alt2#super M
+       #alt2#super P
        
-#alt3#special O
-#alt3#special P
-       redef meth foo
+       #alt3#super O
+       #alt3#super P
+       redef fun foo
        do
                'q'.output
                super