syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / base_closure8.nit
index 9043945..9895978 100644 (file)
@@ -17,7 +17,7 @@
 import kernel
 
 class A
-       meth foo(i: Int)
+       fun foo(i: Int)
                with bar
        do
                '['.output
@@ -31,7 +31,7 @@ class A
        end
 end
 
-meth start
+fun start
 do
        var a = new A
        0.output