Never mind, this is not a bug. There are duplicates in @array.^methods; because of inheritance.
On Sun, Aug 1, 2010 at 10:43 PM, perl6 via RT <perl6-bugs-follo...@perl.org> wrote: > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Re: BUG: @array.^methods.sort() returns duplicates.", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [perl #76920]. > > Please include the string: > > [perl #76920] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > perl6-bugs-follo...@perl.org > > ------------------------------------------------------------------------- > Microsoft Windows [Version 6.1.7600] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > Hi Again, > > My second paste in the bug was incorrect, here are my real duplicates: > > C:\Windows\System32>perl6 >> my @array; > >> @array.^methods.sort(); > ACCEPTS ACCEPTS BUILD BUILDALL Bool Bool CREATE Capture Capture IO Int Num > Num > Numeric Numeric PARROT Seq Str Str Str WALK WHENCE WHERE WHICH abs acos > acosec a > cosech acosh acotan acotanh all any asec asech asin asinh at_key at_pos > at_pos a > t_pos atan atan2 atanh batch bless bytes can capitalize ceiling chars chomp > chop > chr cis classify clone comb cos cosec cosech cosh cotan cotanh defined > delete d > oes eager elems elems elems end eval exists exp first flat flat flip floor > fmt f > mt fmt from-radians grep hash index isa item item iterator join keys kv lc > lcfir > st lines list list list log log10 map map match max min minmax munch new new > new > none notdef of one ord p5chop pairs perl perl perl pick pop postcircumfix:<[ > ]> > postcircumfix:<{ }> pred print push rand reduce reverse rindex roots rotate > rot > ate round samecase say sec sech shift sign sin sinh sort sort splice split > sprin > tf sqrt subst substr succ tan tanh to-radians trans trim trim-leading > trim-trail > ing truncate uc ucfirst uniq unpolar unshift values words > > > Duplicates are confirmed. > > Thanks, > Tom > >