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

X with a lazy list no longer produces a useful output (my @x = lazy 1..3; say (@x X 4..7)[^10]) #6006

Closed
p6rt opened this issue Jan 16, 2017 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Jan 16, 2017

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

Searchable as RT130566$

@p6rt
Copy link
Author

p6rt commented Jan 16, 2017

From @AlexDaniel

Code​:
my @​x = lazy 1..3; say (@​x X 4..7)[^10]

Result (2016.12)​:
((1 4) (1 5) (1 6) (1 7) (2 4) (2 5) (2 6) (2 7) (3 4) (3 5))

Result (HEAD)​:
(Nil Nil Nil Nil Nil Nil Nil Nil Nil Nil)

Bisectable points to rakudo/rakudo@8a3ff7b but rakudo/rakudo@4386e77b39 is probably also relevant.

@p6rt
Copy link
Author

p6rt commented Jan 16, 2017

From @lizmat

Fixed with 0cd921e351 , tests needed

On 16 Jan 2017, at 23​:11, Aleks-Daniel Jakimenko-Aleksejev (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string​: [perl #​130566]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=130566 >

Code​:
my @​x = lazy 1..3; say (@​x X 4..7)[^10]

Result (2016.12)​:
((1 4) (1 5) (1 6) (1 7) (2 4) (2 5) (2 6) (2 7) (3 4) (3 5))

Result (HEAD)​:
(Nil Nil Nil Nil Nil Nil Nil Nil Nil Nil)

Bisectable points to rakudo/rakudo@8a3ff7b but rakudo/rakudo@4386e77b39 is probably also relevant.

@p6rt
Copy link
Author

p6rt commented Jan 16, 2017

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

@p6rt
Copy link
Author

p6rt commented Mar 1, 2017

From @zoffixznet

Tests in Raku/roast@9c4b563910

@p6rt p6rt closed this as completed Mar 1, 2017
@p6rt
Copy link
Author

p6rt commented Mar 1, 2017

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

@p6rt p6rt added the testneeded label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant