nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: skip nitrestful in niti and nitvm
[nit.git]
/
tests
/
base_meth_call.nit
diff --git
a/tests/base_meth_call.nit
b/tests/base_meth_call.nit
index
aa35116
..
9f603bc
100644
(file)
--- a/
tests/base_meth_call.nit
+++ b/
tests/base_meth_call.nit
@@
-17,14
+17,14
@@
import kernel
class A
- meth foo(a: Int) do a.output
- meth bar(a: Int): Int do
+ fun foo(a: Int) do a.output
+ fun bar(a: Int): Int do
' '.output
a.output
return a
end
- meth baz do
+ fun baz do
foo(1)
bar(2).output
var i = bar(3)