Merge: doc: fixed some typos and other misc. corrections
[nit.git] / tests / base_init_auto.nit
index 963dc12..f82dfc9 100644 (file)
@@ -22,7 +22,7 @@ class A
        var y: Int = -2 #alt2#
        #alt2#var y: Int
        #alt3#init (xx: Int) do x = xx
-       #alt4#init foo(xx: Int) do x = xx
+       #alt4#init foo(xx: Int) do init(xx)
        fun work
        do
                x.output