nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code: remove `protected` from top-level methods (now in sys)
[nit.git]
/
tests
/
bench_tak.nit
diff --git
a/tests/bench_tak.nit
b/tests/bench_tak.nit
index
5266e93
..
d5be5e8
100644
(file)
--- a/
tests/bench_tak.nit
+++ b/
tests/bench_tak.nit
@@
-15,7
+15,7
@@
# limitations under the License.
# limitations under the License.
-meth tak(x: Int, y: Int, z: Int): Int
+fun tak(x: Int, y: Int, z: Int): Int
do
if not y < x then
return z
do
if not y < x then
return z
@@
-27,4
+27,4
@@
do
end
end
end
end
-printn(tak(37,12,6))
+print(tak(37,12,6))