nitc: fix calling extern constructors from extern code in separate compiler
[nit.git] / tests / base_attr.nit
index bb60484..a21188b 100644 (file)
@@ -24,8 +24,8 @@ class Int
 end
 
 class Foo
-       var _a1: Int
-       var _a2: Int
+       var a1: Int is noinit
+       var a2: Int is noinit
        fun run
        do
                _a1.output
@@ -40,8 +40,8 @@ class Foo
 end
 
 class Bar
-special Foo
-       var _a3: Int
+       super Foo
+       var a3: Int is noinit
        redef fun run
        do
                _a1.output