Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
list is just a method, and should not get a namespace entry. We need …
…to do this more widely, but this scratches an immediate itch.
  • Loading branch information
jnthn committed May 5, 2009
1 parent 53f7059 commit c0480a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/Object.pir
Expand Up @@ -136,7 +136,7 @@ Return invocant in list context. Default is to return a List containing self.
=cut
.namespace ['Perl6Object']
.sub 'list' :method
.sub '' :method('list')
$P0 = new 'List'
push $P0, self
.return ($P0)
Expand Down

0 comments on commit c0480a5

Please sign in to comment.