Skip to content

Commit

Permalink
Tweak Code.name so it doesn't explode on PIR subs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Apr 22, 2010
1 parent 6ee83f2 commit 559b0ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/builtins/Code.pir
Expand Up @@ -131,8 +131,7 @@ Just calls this block with the supplied parameters.
=cut

.sub 'name' :method
$P0 = getattribute self, '$!do'
$S0 = $P0
$S0 = self
.return ($S0)
.end

Expand Down

0 comments on commit 559b0ca

Please sign in to comment.