Skip to content

Commit

Permalink
Switch use of Array.append to Array.concat to work around Parrot bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
treed committed Jul 14, 2009
1 parent 6ac0177 commit 4865c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/classes/Array.pir
Expand Up @@ -225,7 +225,7 @@ Return a sorted copy of the list
have_by:
$P0 = self.'sort'()
self = 0
self.'append'($P0)
self.'concat'($P0)
.end

=item uniq(...)
Expand Down Expand Up @@ -267,7 +267,7 @@ Return a sorted copy of the list
.sub 'uniq!' :method
$P0 = self.'uniq'()
self = 0
self.'append'($P0)
self.'concat'($P0)
.end

.sub 'max' :method
Expand Down

0 comments on commit 4865c28

Please sign in to comment.