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

say [] ... [] loops infinitely in Rakudo #2843

Closed
p6rt opened this issue Jul 30, 2012 · 4 comments
Closed

say [] ... [] loops infinitely in Rakudo #2843

p6rt opened this issue Jul 30, 2012 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jul 30, 2012

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

Searchable as RT114326$

@p6rt
Copy link
Author

p6rt commented Jul 30, 2012

From @masak

<masak> r​: say [] ... []
<p6eval> rakudo c1bfbb​: OUTPUT«(timeout)»
<masak> <TimToady> why is rakudo not smartmatching the [] and stopping
immediately?
* masak submits rakudobug
<masak> n​: say [] ... []
<p6eval> niecza v19-15-g051783d​: OUTPUT«␤»
<moritz> wait
<moritz> it doesn't even generate list elements
<moritz> it's in sink context
<moritz> so it must loop in the detection stage somewhere
<masak> ...still a bug...
<moritz> yes

@p6rt
Copy link
Author

p6rt commented Apr 17, 2015

From @usev6

This works now and there is a passing test in S03-sequence/basic.t

$ perl6 -e 'say [] ... []'

$ perl6 -e 'say ([] ... []).perl'
([],)

I'm closing this ticket as 'resolved'.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Apr 17, 2015

From @usev6

This works now and there is a passing test in S03-sequence/basic.t

$ perl6 -e 'say [] ... []'

$ perl6 -e 'say ([] ... []).perl'
([],)

I'm closing this ticket as 'resolved'.

@p6rt
Copy link
Author

p6rt commented Apr 17, 2015

@usev6 - Status changed from 'new' to 'resolved'

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