syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / error_meth_2def.nit
index ebd5eeb..140089c 100644 (file)
@@ -15,6 +15,6 @@
 # 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