syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / base_closure7.nit
index 56b3c70..fde6f08 100644 (file)
@@ -16,7 +16,7 @@
 
 import kernel
 
-meth repeat(x: Int)
+fun repeat(x: Int)
        with each(i: Int)
 do
        var c = 0
@@ -26,7 +26,7 @@ do
        end
 end
 
-meth work
+fun work
 do
        repeat(4) with i do
                i.output