update NOTICE and LICENSE
[nit.git] / tests / test_closure_inlined_return.nit
index b172ba5..cf5f034 100644 (file)
@@ -1,4 +1,4 @@
-meth foo with k
+fun foo !k
 do
        ' '.output
        '<'.output
@@ -9,14 +9,14 @@ do
        1.output
 end
 
-meth test
+fun test
 do
        var a = [10, 20, 30]
        '<'.output
        0.output
        var i = 0
        while i < 3 do
-               foo with do
+               foo !k do
                        ' '.output
                        ' '.output
                        '<'.output