On Sat, 27 May 2017 19:35:53 -0700, c...@zoffix.com wrote: > $z is `Nil` without my having to assign anything, while `$!z` is Any. > To make `$!z` Nil I also have to assign Nil to it: > > <Zoffix___> m: my $z is default(Nil); dd $z; class Foo { has $!z is > default(Nil); method x { dd $!z } }.new.x > <camelia> rakudo-moar 0c5fe5: OUTPUT: «Nil $z = NilAny $!z = Any»
Seems fixed, test needed. 13:56 < jnthn> m: class Foo { has $!z is default(Nil); method x { dd $!z } }.new.x 13:56 <+camelia> rakudo-moar 760530: OUTPUT: «Nil $!z = Nil»