contracts: change the contract syntax
[nit.git] / tests / base_attr6.nit
index a83f792..03fe206 100644 (file)
@@ -37,7 +37,7 @@ class B
                i.output
                super(i+30)
        end
-       redef var vaz: Int redef writable = 40
+       redef var vaz: Int = 40 is redef writable
 end
 
 var b = new B