Permalink
Browse files

Stop special-casing &foo style variable lookups. Unbreaks my &foo := ...

  • Loading branch information...
1 parent a936de0 commit 6b519ccfd8e19ee3e58c651a4ca88380acfd6c11 @jnthn jnthn committed Jun 10, 2011
Showing with 0 additions and 10 deletions.
  1. +0 −10 src/Perl6/Actions.pm
View
@@ -857,16 +857,6 @@ class Perl6::Actions is HLL::Actions {
$past.viviself( sigiltype( $<sigil> ) );
$past.unshift(PAST::Var.new( :name('self'), :scope('lexical') ));
}
- elsif $<sigil> eq '&' {
- if !@name {
- $past := PAST::Op.new(:pirop('find_sub_not_null__Ps'), $past.name);
- }
- else {
- $past.viviself(PAST::Var.new(
- :namespace(''), :name('Code'), :scope('package')
- ));
- }
- }
}
$past
}

0 comments on commit 6b519cc

Please sign in to comment.