Skip to content

Commit

Permalink
Port fix from 218f8c4 to EVAL :lang<Perl5>
Browse files Browse the repository at this point in the history
Many thanks to ugexe++ for pointing this out!
  • Loading branch information
niner committed Jul 2, 2018
1 parent 72ccd43 commit 6668308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ForeignCode.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ proto sub EVAL($code is copy where Blob|Cool|Callable, Str() :$lang = 'perl6', P

multi sub EVAL($code, Str :$lang where { ($lang // '') eq 'Perl5' }, PseudoStash :$context) {
my $eval_ctx := nqp::getattr(nqp::decont($context // CALLER::), PseudoStash, '$!ctx');
my $?FILES := 'EVAL_' ~ (state $no)++;
my $?FILES := 'EVAL_' ~ Rakudo::Internals::EvalIdSource.next-id;
state $p5;
unless $p5 {
{
Expand Down

0 comments on commit 6668308

Please sign in to comment.