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

Make push and unshift iterate on single arguments in containers. #512

Closed
wants to merge 1 commit into from

Conversation

skids
Copy link
Contributor

@skids skids commented Aug 25, 2015

Per http://irclog.perlgeek.de/perl6/2015-08-24#i_11106557
itemization only protects against flattening, not single-arg-rule.

When push and unshift were implemented they assumed the opposite.

This brings their behavior in line and fixes as much of the
fallout from that in rakudo. Even with those fixes we lose
progress on the test suite -- 7 files and some more tests in
already failing files need adjustment because they relied on
the previous behavior.

Some of the internal fixes may be superstitious, but can be
cleaned up later (you must be able to know you will not get any
Iterables to determine what is safe, and that is time consuming.)

Per http://irclog.perlgeek.de/perl6/2015-08-24#i_11106557
itemization only protects against flattening, not single-arg-rule.

When push and shift were implemented they assumed the opposite.

This brings their behavior in line and fixes as much of the
fallout from that in rakudo.  Even with those fixes we lose
progress on the test suite -- 7 files and some more tests in
already failing files need adjustment because they relied on
the previous behavior.

Some of the internal fixes may be superstitious, but can be
cleaned up later (you must be able to know you will not get any
Iterables to determine what is safe, and that is time consuming.)
@skids
Copy link
Contributor Author

skids commented Aug 27, 2015

GLRR removed the need for this PR.

@skids skids closed this Aug 27, 2015
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

Successfully merging this pull request may close these issues.

1 participant