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

.comb no longer produces a Seq (‘hello’.comb(/./)) #5930

Closed
p6rt opened this issue Dec 29, 2016 · 3 comments
Closed

.comb no longer produces a Seq (‘hello’.comb(/./)) #5930

p6rt opened this issue Dec 29, 2016 · 3 comments
Labels
regression Issue did not exist previously

Comments

@p6rt
Copy link

p6rt commented Dec 29, 2016

Migrated from rt.perl.org#130433 (status was 'rejected')

Searchable as RT130433$

@p6rt
Copy link
Author

p6rt commented Dec 29, 2016

From @AlexDaniel

Code​:
say �hello�.comb(/./).perl

Result (2016.10)​:
("h", "e", "l", "l", "o").Seq

Result (2016.11)​:
("h", "e", "l", "l", "o")

Bisectable points to rakudo/rakudo@1794328

I'm not sure what is the best behavior, it could be argued both ways. See IRC log​: https://irclog.perlgeek.de/perl6/2016-12-27#i_13808467

@p6rt
Copy link
Author

p6rt commented Jan 18, 2017

From @lizmat

Do not consider this to be a bug per se, so rejecting.

If we really want this to be a Seq always, we will need to wrap it in a Seq.new() and call .iterator in the match result.

@p6rt
Copy link
Author

p6rt commented Jan 18, 2017

@lizmat - Status changed from 'new' to 'rejected'

@p6rt p6rt closed this as completed Jan 18, 2017
@p6rt p6rt added the regression Issue did not exist previously label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Issue did not exist previously
Projects
None yet
Development

No branches or pull requests

1 participant