New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: @array.^methods.sort() returns duplicates. #1998
Comments
From tom.dignan@gmail.comHi Rakudo, I tested this on rakudo star on Windows 7, but will test it on linux C:\Users\tom\Code\p6-imap>perl6 Doing this will return the methods as expected:
Pipe that through unix sort and you'll see there are no duplicates. Until we introduce rakudo's .sort() function. new splice perl delete at_pos munch shift map hash fmt flat new rotate pop Captu One see there are definitely dupes here, easier to see if you do: for @array.^methods.sort() -> $foo { say $foo; } Thanks, |
@coke - Status changed from 'new' to 'open' |
From @cokeOn Sun Aug 01 19:41:08 2010, shirtless wrote:
New failure mode: 09:12 < [Coke]> rakudo: my @a; say @a.^methods.sort(); -- |
From @diakopterThis is now working. marking testneeded. 13:22 <diakopter> rakudo: my @a; say @a.^methods.sort(); |
From @diakopternm I'm wrong. unmarking testneeded. |
From @moritzWorks now. Closing without test, because testing it reliably would be an |
@moritz - Status changed from 'open' to 'resolved' |
From @moritzOh, I forgot to say: multiple methods of the same name are OK, they |
Migrated from rt.perl.org#76918 (status was 'resolved')
Searchable as RT76918$
The text was updated successfully, but these errors were encountered: