lib/serialization: add README.md
[nit.git] / tests / base_attr_def.nit
index 17da0d3..4b1d21e 100644 (file)
@@ -32,7 +32,8 @@ class Foo
                a2.output
        end
 
-       init
+       init is
+               old_style_init
        do
                a1 = 1
                a2 = 2
@@ -49,7 +50,8 @@ class Bar
                a3.output
        end
 
-       init 
+       init is
+               old_style_init
        do 
                a1 = 10
                a2 = 20