nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update NOTICE and LICENSE
[nit.git]
/
tests
/
base_closure8.nit
diff --git
a/tests/base_closure8.nit
b/tests/base_closure8.nit
index
83441b0
..
ad72510
100644
(file)
--- a/
tests/base_closure8.nit
+++ b/
tests/base_closure8.nit
@@
-32,6
+32,8
@@
class A
end
end
+fun maybe: Bool do return true
+
fun start
do
var a = new A
@@
-40,9
+42,11
@@
do
2.output
a.foo(3) !bar do
4.output
+ if maybe then
#alt1#break
#alt2#continue
#alt3#return
+ end
5.output
end
6.output