X-Git-Url: http://nitlanguage.org diff --git a/tests/base_virtual_type3.nit b/tests/base_virtual_type3.nit index 0f33aa8..b05b4e8 100644 --- a/tests/base_virtual_type3.nit +++ b/tests/base_virtual_type3.nit @@ -14,15 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. -import base_virtual_type2 import array +import base_virtual_type2 class C -special A - readable writable attr _tab: Array[E] - init do end + super A + var tab: nullable Array[E] = null is writable end + var c = new C c.tab = new Array[T] c.tab.add(new U)