update NOTICE and LICENSE
[nit.git] / tests / base_isa_cast_self.nit
index 1bb78f4..1afcd14 100644 (file)
@@ -19,7 +19,7 @@ import kernel
 class A
        init do end
 
-       meth work
+       fun work
        do
                if self isa B then
                        foo
@@ -47,14 +47,14 @@ class A
 end
 
 class B
-special A
-       meth foo do 0.output
+       super A
+       fun foo do 0.output
        init do end
 end
 
 class C
-special B
-       meth bar do 1.output
+       super B
+       fun bar do 1.output
        init do end
 end