On Thu, 09 Mar 2017 04:06:27 -0800, [email protected] wrote: > > my @a is default(Nil); @a[0] = Nil > Nil > > @a[0] > Nil > > @a.perl.EVAL[0] > (Any) > > .perl.EVAL fails to round-trip the Nil element value in the Array. > Nil itself round-trips fine, so the failure here is specific to the Array. > > -zefram
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'
(42 42 42)
((Any) (Any) (Any))
