2011-06-15 13:19:50 -05:00
|
|
|
|
|
|
|
|
2011-04-19 18:52:59 -05:00
|
|
|
tag thing { a; b; c; }
|
|
|
|
|
2011-10-21 06:14:28 -05:00
|
|
|
fn foo(it: block(int)) { it(10); }
|
2011-04-19 18:52:59 -05:00
|
|
|
|
|
|
|
fn main() {
|
2011-07-27 07:19:39 -05:00
|
|
|
let x = true;
|
|
|
|
alt a {
|
2011-10-21 06:14:28 -05:00
|
|
|
a. { x = true; foo {|_i|} }
|
2011-07-27 07:19:39 -05:00
|
|
|
b. { x = false; }
|
|
|
|
c. { x = false; }
|
2011-04-19 18:52:59 -05:00
|
|
|
}
|
2011-08-15 23:54:52 -05:00
|
|
|
}
|