nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git]
/
tests
/
base_closure7.nit
diff --git
a/tests/base_closure7.nit
b/tests/base_closure7.nit
index
56b3c70
..
fde6f08
100644
(file)
--- a/
tests/base_closure7.nit
+++ b/
tests/base_closure7.nit
@@
-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