I Realised what's happening. Real is a role so calling .list on it puns it.

so the phenomenon can be boiled down to:

 Real ~~ Real.^pun # False

I'm not sure if it should be that way. I will accept notabug though :)

On Thu, Sep 8, 2016 at 12:33 AM Lloyd Fournier <perl6-bugs-follo...@perl.org>
wrote:

> # New Ticket Created by  Lloyd Fournier
> # Please include the string:  [perl #129220]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/Ticket/Display.html?id=129220 >
>
>
> say (Real,) ~~ Real.list;   # False
> say (Real,) ~~ Real.List;   # False
> say Real.list ~~ (Real,);   # True
> say Real.list ~~ Real.List; # True
> say Real.List ~~ (Real,);   # True
> say Real.List ~~ Real.list; # True
>
> say (Cool,) ~~ Cool.list;   # True
> say (Cool,) ~~ Cool.List;   # True
> say Cool.list ~~ (Cool,);   # True
> say Cool.list ~~ Cool.List; # True
> say Cool.List ~~ (Cool,);   # True
> say Cool.List ~~ Cool.list; # True
>
> (Real,) seems to be a special snowflake and that's not Cool.
>

Reply via email to