Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct an op signature. Sadly, doens't unbust immediate block inlini…
…ng optimization, though.
  • Loading branch information
jnthn committed Mar 1, 2012
1 parent 4f557f8 commit 13d4b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Optimizer.pm
Expand Up @@ -390,7 +390,7 @@ class Perl6::Optimizer {

# Copy over interesting stuff in declaration section.
for @($decls) {
if $_.isa(PAST::Op) && $_.pirop eq 'bind_signature vP' {
if $_.isa(PAST::Op) && $_.pirop eq 'bind_signature v' {
# Don't copy this binder call.
}
elsif $_.isa(PAST::Var) && ($_.name eq '$/' || $_.name eq '$!' ||
Expand Down

0 comments on commit 13d4b0a

Please sign in to comment.