Hi

I miss an error on my first invocation of `c` below:

$ raku
Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2020.10.
Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d.
Built on MoarVM version 2020.10.

To exit type 'exit' or '^D'
> class a { method b {return}}
(a)
> say a.b.c
Nil
> my $b = a.b
(Any)
> say $b.c
No such method 'c' for invocant of type 'Any'
  in block <unit> at <unknown file> line 1

>

Is there an explanation for that behavior?

Cheers

Konrad

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to