syntax: type error when using superstrings with nullables
[nit.git] / tests / base_virtual_type3.nit
index 0f33aa8..e8df582 100644 (file)
@@ -19,7 +19,7 @@ import array
 
 class C
 special A
-       readable writable attr _tab: Array[E]
+       readable writable var _tab: nullable Array[E]
        init do end
 end