Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #422 from raydiak/patch-1
Fix undeclared variable error
  • Loading branch information
lizmat committed May 9, 2015
2 parents 70ac241 + f9343fe commit 176f778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -310,7 +310,7 @@ role STD {

CATCH {}
}
$*W.throw($var, ['X', 'Undeclared'], symbol => $name, suggestions => @suggestions);
$*W.throw($var, ['X', 'Undeclared'], symbol => $name, suggestions => @suggestions, precursor => '1');
}
}
else {
Expand Down

0 comments on commit 176f778

Please sign in to comment.