X-Git-Url: http://nitlanguage.org diff --git a/tests/base_attr_def.nit b/tests/base_attr_def.nit index 693fe5d..4b1d21e 100644 --- a/tests/base_attr_def.nit +++ b/tests/base_attr_def.nit @@ -24,15 +24,16 @@ class Int end class Foo - readable writable var _a1: Int - readable writable var _a2: Int + var a1: Int + var a2: Int fun run do a1.output a2.output end - init + init is + old_style_init do a1 = 1 a2 = 2 @@ -40,8 +41,8 @@ class Foo end class Bar -special Foo - readable writable var _a3: Int + super Foo + var a3: Int redef fun run do a1.output @@ -49,7 +50,8 @@ special Foo a3.output end - init + init is + old_style_init do a1 = 10 a2 = 20