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
.push does something un(ex)-spec'd-ed #4588
Comments
From songwentai@linuxdeepin.com```perl6 code my @a = 1,2,3; ``` @b is [1,2,3], not [ [1,2,3] ], is this a bug? |
From @lizmat
Thank you for letting us know. The bug turns out to be in the spec: http://irclog.perlgeek.de/perl6/2015-09-25#i_11273634 So the spec will be adapted. Liz |
The RT System itself - Status changed from 'new' to 'open' |
From @FROGGSThe semantics of push got revised in the meantime, and a new method called "append" got added: m: my @a = 1,2,3; my @b; @b.push: @a,; dd @b m: my @a = 1,2,3; my @b; @b.push: @a; dd @b m: my @a = 1,2,3; my @b; @b.append: @a,; dd @b m: my @a = 1,2,3; my @b; @b.append: @a; dd @b As you can see even the comma is not needed anymore. Tagging testneeded. |
From @FROGGSAdded test: Raku/roast@f50149e607 Closing ticket. |
1 similar comment
From @FROGGSAdded test: Raku/roast@f50149e607 Closing ticket. |
@FROGGS - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#126172 (status was 'resolved')
Searchable as RT126172$
The text was updated successfully, but these errors were encountered: