X-Git-Url: http://nitlanguage.org diff --git a/tests/error_meth_2def2.nit b/tests/error_meth_2def2.nit index 5765371..48c63a4 100644 --- a/tests/error_meth_2def2.nit +++ b/tests/error_meth_2def2.nit @@ -15,6 +15,9 @@ # limitations under the License. class A - meth toto(a: Int) do end - meth toto(a: Int): Int do return 0 end + fun toto(a: Int) do end + fun toto(a: Int): Int do return 0 end end + +var a = new A +a.toto(1).output