(continued :P)
Type check failed in assignment to $a; expected Str:D but got Mu (Mu)
  in block <unit> at -e line 1

It can also happen on assignment to array and hash elements.

On Sat, May 28, 2016 at 9:59 PM Lloyd Fournier <[email protected]>
wrote:

> # New Ticket Created by  Lloyd Fournier
> # Please include the string:  [perl #128277]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/Ticket/Display.html?id=128277 >
>
>
> my Str:D $a = Nil; say $a; # (Str:D)
> say $a.VAR.default; #(Str:D)
>
> :D variables in general cannot have a default default. Therefore if the
> default default should be to throw an exception when it is acessed. My
> answer would be:
>

Reply via email to