X-Git-Url: http://nitlanguage.org diff --git a/tests/error_meth_2def.nit b/tests/error_meth_2def.nit index ebd5eeb..7f41160 100644 --- a/tests/error_meth_2def.nit +++ b/tests/error_meth_2def.nit @@ -15,6 +15,9 @@ # limitations under the License. class A - meth toto(a: Int) do end - meth toto(a: Char) do end + fun toto(a: Int) do end + fun toto(a: Char) do end end + +var a = new A +a.toto(1)