contracts: change the contract syntax
[nit.git] / tests / base_attr_init_val2.nit
index 4dd716f..14a7ba1 100644 (file)
 # limitations under the License.
 
 import end
-class Object
+interface Object
 end
 class Int
 end
 class A
-       attr _i: Int = 1
+       var i: Int = 1
 end