update NOTICE and LICENSE
[nit.git] / tests / base_isa_cast2.nit
index 14de354..782277e 100644 (file)
@@ -21,8 +21,8 @@ class A
 end
 
 class B
-special A
-       meth foo(i: Int) do i.output
+       super A
+       fun foo(i: Int) do i.output
        init do end
 end
 var a0: A = new B
@@ -47,7 +47,7 @@ end
 a.foo(4)
 a = a0
 while a isa B do
-       #alt8#a.foo(5)
+       a.foo(5)
        a = new A
        #alt5#a.foo(-5)
 end