Skip Menu |
Report information
Id: 128904
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: djgoku [at] gmail.com
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



From: Jonathan Otsuka <djgoku [...] gmail.com>
Date: Thu, 11 Aug 2016 22:21:46 -0500
Subject: [BUG] - Comparing Shaped Arrays
To: rakudobug [...] perl.org
Download (untitled) / with headers
text/plain 604b
I wanted to do (IRC Log of #perl6: http://irclog.perlgeek.de/perl6/2016-08-12#i_13009688):

my @a[2;2] = ([1, 2], [3,4]);
my @b[2;2] = ([1, 2], [3,4]);

@a ~~ @b; # I get this error: Partially dimensioned views of arrays not yet implemented. Sorry.

Though this works:


say [[1,2],[3,4]] ~~ [[1,2],[3,4]]; 

also:

say [[1,2],[3,4]] env [[1,2],[3,4]];


Jonathan Otsuka


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org