X-Git-Url: http://nitlanguage.org diff --git a/tests/error_spe_proc.nit b/tests/error_spe_proc.nit index d946e44..17949f3 100644 --- a/tests/error_spe_proc.nit +++ b/tests/error_spe_proc.nit @@ -15,10 +15,13 @@ # limitations under the License. class A -meth toto do end +fun toto do end end class B -special A -redef meth toto: Int do return 2end + super A +redef fun toto: Int do return 2 end end + +var b = new B +b.toto.output