X-Git-Url: http://nitlanguage.org diff --git a/tests/base_attr.nit b/tests/base_attr.nit index 736d7ff..4fef2d7 100644 --- a/tests/base_attr.nit +++ b/tests/base_attr.nit @@ -16,17 +16,17 @@ import end -class Object +interface Object end class Int - meth output is intern + fun output is intern end class Foo - attr _a1: Int - attr _a2: Int - meth run + var a1: Int is noinit + var a2: Int is noinit + fun run do _a1.output _a2.output @@ -40,16 +40,16 @@ class Foo end class Bar -special Foo - attr _a3: Int - redef meth run + super Foo + var a3: Int is noinit + redef fun run do _a1.output _a2.output _a3.output end - redef init + init do _a1 = 10 _a2 = 20