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_closure5.nit
diff --git
a/tests/base_closure5.nit
b/tests/base_closure5.nit
index
bef65e9
..
1cce7b4
100644
(file)
--- a/
tests/base_closure5.nit
+++ b/
tests/base_closure5.nit
@@
-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