Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix blorst closure-o.
This in turn fixes try { ... } usage in multiple threads, and maybe
other similar bugs.
  • Loading branch information
jnthn committed Mar 30, 2014
1 parent ee7dbc1 commit 0035fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -1550,7 +1550,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
}

method blorst($/) {
make $<block> ?? $<block>.ast !! block_closure(make_thunk_ref($<statement>.ast, $/));
make block_closure($<block> ?? $<block>.ast !! make_thunk_ref($<statement>.ast, $/));
}

# Statement modifiers
Expand Down

0 comments on commit 0035fad

Please sign in to comment.