Skip to content

Commit

Permalink
Exlicitly make Array.size respond to elements vtable.
Browse files Browse the repository at this point in the history
  • Loading branch information
treed committed Jul 26, 2009
1 parent e6bea57 commit 5b4c4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/Array.pir
Expand Up @@ -1121,7 +1121,7 @@ Creates a new Array containing the results and returns it.
Retrieve the number of elements in C<self>

=cut
.sub 'size' :method
.sub 'size' :method :vtable('elements')
$I0 = self
.return($I0)
.end
Expand Down

0 comments on commit 5b4c4e4

Please sign in to comment.