syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / base_init_inherit4.nit
index f269809..1fe6773 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
@@ -41,7 +41,7 @@ end
 class O
 special M
 special B
-       redef meth foo
+       redef fun foo
        do
                'o'.output
                super
@@ -51,7 +51,7 @@ end
 class P
 special B
 special N
-       redef meth foo
+       redef fun foo
        do
                'p'.output
                super
@@ -71,7 +71,7 @@ class Q
        
 #alt3#special O
 #alt3#special P
-       redef meth foo
+       redef fun foo
        do
                'q'.output
                super