Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
EVAL passes on unknown named parameters
cygx++ for pointing out we need that
  • Loading branch information
lizmat committed Oct 30, 2015
1 parent b855790 commit 4e45f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/control.pm
Expand Up @@ -196,7 +196,7 @@ multi sub warn(*@msg) {
0;
}

proto sub EVAL(Cool $code, Str() :$lang = 'perl6', PseudoStash :$context) {
proto sub EVAL(Cool $code, Str() :$lang = 'perl6', PseudoStash :$context, *%n) {
# First look in compiler registry.
my $compiler := nqp::getcomp($lang);
if nqp::isnull($compiler) {
Expand Down

0 comments on commit 4e45f0e

Please sign in to comment.