X-Git-Url: http://nitlanguage.org diff --git a/tests/base_init_inherit.nit b/tests/base_init_inherit.nit index 9424272..9c608b3 100644 --- a/tests/base_init_inherit.nit +++ b/tests/base_init_inherit.nit @@ -12,7 +12,7 @@ class A '2'.output end - meth foo + fun foo do 'a'.output '\n'.output @@ -20,7 +20,7 @@ class A end class B -special A + super A init cb do 'B'.output @@ -29,7 +29,7 @@ special A '}'.output end - redef meth foo + redef fun foo do 'b'.output super @@ -37,7 +37,7 @@ special A end class C -special B + super B init cc do 'C'.output @@ -46,7 +46,7 @@ special B '}'.output end - redef meth foo + redef fun foo do 'c'.output super @@ -54,8 +54,8 @@ special B end class M -special A - redef meth foo + super A + redef fun foo do 'm'.output super @@ -63,9 +63,9 @@ special A end class N -special B -special M - redef meth foo + super B + super M + redef fun foo do 'n'.output super @@ -73,8 +73,8 @@ special M end class O -special N -special C + super N + super C init co do 'O'.output @@ -82,7 +82,7 @@ special C cc '}'.output end - redef meth foo + redef fun foo do 'o'.output super