Skip to content

Commit

Permalink
Fix compiler thunk checking.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Mar 13, 2013
1 parent 4c470a1 commit 136dc0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Perl6/Metamodel/BOOTSTRAP.pm
Expand Up @@ -979,7 +979,8 @@ BEGIN {
# Otherwise, may need full bind check.
if %info<bind_check> {
my $sub := %info<sub>;
my $ctf := pir::getprop__PsP("COMPILER_THUNK", $sub);
my $ctf := pir::getprop__PsP("COMPILER_THUNK",
nqp::getattr($sub, Code, '$!do'));
unless nqp::isnull($ctf) {
# We need to do the tie-break on something not yet compiled.
# Get it compiled.
Expand Down

0 comments on commit 136dc0b

Please sign in to comment.