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

Owner: Nobody
Requestors: bbkr [at] post.pl
Cc:
AdminCc:

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



Subject: Native and shaped array gives weird error when index is out of range
From: Pawel Pabian <bbkr [...] post.pl>
To: rakudobug [...] perl.org
Date: Wed, 15 Feb 2017 22:50:38 +0100
Download (untitled) / with headers
text/plain 368b
When index of shaped array is out of range it gives misleading error message instead of expected "Index 1 for dimension 1 out of range (must be ...)". $ perl6 -e 'my int @t[1]; @t = 1,2' This type (List) does not support positional operations This happens only for "low-level" types like int, "high-level" types like Int works as expected. Rakudo 2017.01 on MoarVM.


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