Rename REAMDE to README.md
[nit.git] / tests / base_virtual_type.nit
index 87dec55..277cc6d 100644 (file)
@@ -18,17 +18,17 @@ import kernel
 
 class A
        type E: T
-       
-       readable writable attr _e: nullable E = null 
+
+       var e: nullable E = null is writable
 end
 
 class B
-special A
+       super A
        init do end
 end
 
 class T
-       meth foo do 0.output
+       fun foo do 0.output
        init do end
 end