On Mon, 29 May 2017 10:02:27 -0700, thunderg...@comcast.net wrote:
> 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 "2␤0␤This 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.


Thank you for the report. lizmat++ fixed the issue.

Fix: https://github.com/rakudo/rakudo/commit/9494cbd3b9
Test: https://github.com/perl6/roast/commit/0faf3c354f

Reply via email to