nitc: move up the default values of a project from the android platform
[nit.git] / tests / base_virtual_type3.nit
index 6f66799..b05b4e8 100644 (file)
@@ -19,10 +19,10 @@ import base_virtual_type2
 
 class C
        super A
-       var tab: nullable Array[E] writable
-       init do end
+       var tab: nullable Array[E] = null is writable
 end
 
+
 var c = new C
 c.tab = new Array[T]
 c.tab.add(new U)