X-Git-Url: http://nitlanguage.org diff --git a/tests/base_super_linext.nit b/tests/base_super_linext.nit index f4da116..ed1d84f 100644 --- a/tests/base_super_linext.nit +++ b/tests/base_super_linext.nit @@ -17,27 +17,27 @@ import kernel class A - meth work do + fun work do foo '\n'.output bar.output '\n'.output end - meth foo do 'A'.output - meth bar: Char do return 'A' + fun foo do 'A'.output + fun bar: Char do return 'A' init do end end class B -special A - redef meth foo + super A + redef fun foo do 'B'.output '['.output super ']'.output end - redef meth bar + redef fun bar do super.output return 'B' @@ -46,15 +46,15 @@ special A end class C -special A - redef meth foo + super A + redef fun foo do 'C'.output '['.output super ']'.output end - redef meth bar + redef fun bar do super.output return 'C' @@ -63,16 +63,16 @@ special A end class D -special B -special C - redef meth foo + super B + super C + redef fun foo do 'D'.output '['.output super ']'.output end - redef meth bar + redef fun bar do super.output return 'D'