contracts: change the contract syntax
[nit.git] / tests / error_spe_attr.nit
index e589ec7..00e43b6 100644 (file)
 # limitations under the License.
 
 class A
-       var _a: Int = 1
+       var a: Int = 1
 end
 class B
        super A
-       redef var _a: Object = 2
+       redef var a: Object = 2
 end
+
+var b = new B
+b.a.output