syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / base_closure5.nit
index bef65e9..1cce7b4 100644 (file)
@@ -17,7 +17,7 @@
 import kernel
 
 class A
-       meth foo: Int
+       fun foo: Int
                with bar: Int
        do
                1.output
@@ -27,7 +27,7 @@ class A
        end
 end
 
-meth work: Int
+fun work: Int
 do
        var a = new A
        var i = a.foo with do