Skip to content

Commit

Permalink
[js] Fix bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Jan 11, 2017
1 parent 83e0c33 commit 0e7c43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/js/Operations.nqp
Expand Up @@ -1402,7 +1402,7 @@ class QAST::OperationsJS {
my $*RETURN;
$*RETURN := ReturnInfo.new(block => $*BLOCK) if $is_return;

my $protected := $comp.as_js($node[0], :$want);
my $protected := $comp.as_js($node[0], :want($T_OBJ));

# When compiling nqp assume that nqp::throwpayloadlexcaller is not used
if $*HLL eq 'nqp' && $is_return && !$*RETURN.is_used {
Expand Down

0 comments on commit 0e7c43f

Please sign in to comment.