update NOTICE and LICENSE
[nit.git] / tests / base_as_cast.nit
index a93c628..d383482 100644 (file)
 import kernel
 
 class O
-       redef meth output do 0.output
+       redef fun output do 0.output
 end
 
 class A
-special O
+       super O
        init do end
 end
 
 class U
-       redef meth output do 1.output
+       redef fun output do 1.output
 end
 
 class B
-special A
-special U
-       redef meth output do 2.output
+       super A
+       super U
+       redef fun output do 2.output
        init do end
 end