X-Git-Url: http://nitlanguage.org diff --git a/tests/base_init_super_call2.nit b/tests/base_init_super_call2.nit index f229ddb..be64735 100644 --- a/tests/base_init_super_call2.nit +++ b/tests/base_init_super_call2.nit @@ -20,22 +20,22 @@ end class B1 super A - #alt1#init do super + #alt1#init is old_style_init do super end class B2 super A - init do super(3) + init is old_style_init do super(3) end class B3 super A - #alt2#init do super(true) + #alt2#init is old_style_init do super(true) end class B4 super A - #alt3#init do end + #alt3#init is old_style_init do end end class C1 @@ -48,7 +48,7 @@ end class D1 super A - init(j) do + init(j: Int) do super j.output end @@ -72,7 +72,7 @@ end class D2 super A - init(j) do + init(j: Int) do super(j) j.output end @@ -89,13 +89,15 @@ end class C3 super A init(j: Int) do + super(j)#alt6# j.output end end class D3 super A - init(j) do + init(j: Int) do + super(j)#alt6# j.output end end @@ -119,6 +121,7 @@ end class F2 super A init(j: Int, k: Bool) do + super(j)#alt6# j.output end end