Skip to content
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

(1..8).reverse listifies to an empty list in Rakudo #860

Closed
p6rt opened this issue Apr 4, 2009 · 4 comments
Closed

(1..8).reverse listifies to an empty list in Rakudo #860

p6rt opened this issue Apr 4, 2009 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Apr 4, 2009

Migrated from rt.perl.org#64458 (status was 'resolved')

Searchable as RT64458$

@p6rt
Copy link
Author

p6rt commented Apr 4, 2009

From @masak

Rakudo 0bb68ee seems to be regressed on reversing ranges​:

$ perl6 -e '.say for (1..8).reverse; say "!"; say (1..8).reverse.perl'
!
8..1

I expect the output to be something like this​:

8
7
6
5
4
3
2
1
!
[8, 7, 6, 5, 4, 3, 2, 1]

@p6rt
Copy link
Author

p6rt commented Apr 4, 2009

From @moritz

On Sat Apr 04 07​:59​:05 2009, masak wrote​:

Rakudo 0bb68ee seems to be regressed on reversing ranges​:

$ perl6 -e '.say for (1..8).reverse; say "!"; say (1..8).reverse.perl'
!
8..1

I expect the output to be something like this​:

8
7
6
5
4
3
2
1
!
[8, 7, 6, 5, 4, 3, 2, 1]

Tested in range.t, and fixed in 2fb96f86927a7e26bd572e17cfcb87a41e71df0b.

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Apr 4, 2009

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Apr 4, 2009

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Apr 4, 2009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant