# New Ticket Created by Steve Schulze
# Please include the string: [perl #131395]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=131395 >
Using a cross meta operator on an empty list complains "This type
(Scalar) does not support elems".
say (1,2).elems; say ().elems; say (1,2) X ();
yields "20This type (Scalar) does not support elems"
Seems to work correctly with arrays instead of lists.
say [1,2].elems; say [].elems; say [1,2] X [];
Linux Mint 17.2
>perl6 -v
>This is Rakudo version 2017.05 built on MoarVM version 2017.05
implementing Perl 6.c.