syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / base_virtual_type.nit
index 23a4b2b..ec68f06 100644 (file)
@@ -19,7 +19,7 @@ import kernel
 class A
        type E: T
        
-       readable writable attr _e: E = null
+       readable writable var _e: nullable E = null 
 end
 
 class B
@@ -28,7 +28,7 @@ special A
 end
 
 class T
-       meth foo do 0.output
+       fun foo do 0.output
        init do end
 end