syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / base_isa_cast_self.nit
index 1bb78f4..c251d40 100644 (file)
@@ -19,7 +19,7 @@ import kernel
 class A
        init do end
 
-       meth work
+       fun work
        do
                if self isa B then
                        foo
@@ -48,13 +48,13 @@ end
 
 class B
 special A
-       meth foo do 0.output
+       fun foo do 0.output
        init do end
 end
 
 class C
 special B
-       meth bar do 1.output
+       fun bar do 1.output
        init do end
 end