X-Git-Url: http://nitlanguage.org diff --git a/tests/error_meth_2def2.nit b/tests/error_meth_2def2.nit index 8e10ea6..48c63a4 100644 --- a/tests/error_meth_2def2.nit +++ b/tests/error_meth_2def2.nit @@ -18,3 +18,6 @@ class A fun toto(a: Int) do end fun toto(a: Int): Int do return 0 end end + +var a = new A +a.toto(1).output