|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|
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; @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.