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
Array.perl loses is default
#6138
Comments
From zefram@fysh.org
.perl.EVAL fails to round-trip the Nil element value in the Array. -zefram |
From @zoffixznetOn Thu, 09 Mar 2017 04:06:27 -0800, zefram@fysh.org wrote:
Looks to me it's not Nil it's losing, it's the `is default` that it's losing: $ perl6 -e 'my @a is default(42); say @a[^3]; @a.perl.EVAL[^3].say' |
The RT System itself - Status changed from 'new' to 'open' |
From @zoffixznetAnd without `is default(Nil)` a Nil value would assume whatever the `is default` is (which by default is Any) |
From zefram@fysh.orgZoffix Znet via RT wrote:
That's a reasonable way to look at it. Note that a binding also loses
-zefram |
Migrated from rt.perl.org#130963 (status was 'open')
Searchable as RT130963$
The text was updated successfully, but these errors were encountered: