Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't leave constant folding failure to chance.
  • Loading branch information
jnthn committed Jul 25, 2012
1 parent 7efa992 commit d4435ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Perl6/ConstantFolder.pm
Expand Up @@ -28,6 +28,9 @@ class Perl6::ConstantFolder {
# Add folded symbol into the world (which'll return a PAST ref to it).
$world.add_constant_folded_result(pir::nqp_decontainerize__PP($result))
}
else {
nqp::die("No compile time value obtainable");
}
}

# Look for a symbol needed in the constant folding.
Expand Down

0 comments on commit d4435ab

Please sign in to comment.