class A
fun foo
- with bar do
+ !bar do
+ if maybe then
#alt1# return
#alt2# return 1
#alt3# abort
#alt4# continue
#alt5# continue 20
+ #alt6# break
+ #alt7# break 1
+ end
20.output
end
do
end
end
+fun maybe: Bool do return true
+
var a = new A
0.output
-a.foo with do 2.output
+a.foo !bar do 2.output
0.output
a.foo
0.output