Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
this should have been gone already.
  • Loading branch information
timo committed Aug 20, 2013
1 parent 8bea225 commit e63cc6f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/NQP/Optimizer.nqp
Expand Up @@ -56,13 +56,7 @@ class NQP::Optimizer {
} elsif nqp::istype($node, QAST::IVal) {
return 1
} elsif nqp::istype($node, QAST::Var) && $node.scope eq 'lexical' {
my %sym;
try {
my %sym := self.find_lex($node.name);
CATCH {
say("could not find lexpad entry for " ~ $node.name);
}
}
my %sym := self.find_lex($node.name);
if nqp::existskey(%sym, 'type') && nqp::objprimspec(%sym<type>) == 1 {
say("var " ~ $node.name ~ " is native int.");
return 1
Expand Down

0 comments on commit e63cc6f

Please sign in to comment.