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
Unclear what a hole in a List is #6592
Comments
From @zoffixznetIf you convert an Array with holes into a List, it makes sense for holes to be turned in Nils, m: my @a = <a b c>; @a[1]:delete; @a[5] = 42; @a.List.gist.put; @a.List.perl.put; my @b is default(42) = @a.List; say @b.perl Which is especially weird, if you assign some Mus into the Array: m: (my @a)[1] = Mu; @a.List.gist.say Looks like the logic that turns holes into Nils on AT-POS also needs to be added in the iterator. |
From @zoffixznetOn Tue, 10 Oct 2017 05:56:34 -0700, cpan@zoffix.com wrote:
Made Array.List shove Nils into holes. Fix: rakudo/rakudo@e135121914 |
@zoffixznet - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#132261 (status was 'resolved')
Searchable as RT132261$
The text was updated successfully, but these errors were encountered: