Merge: curl: basic Unix domain socket support
[nit.git] / tests / error_meth_2def.nit
index ebd5eeb..7f41160 100644 (file)
@@ -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)