Skip to content

Commit

Permalink
[v6.d REVIEW] DSETEM in native array errors
Browse files Browse the repository at this point in the history
DSETEM = "Do Not Spec Exact Text of Error Messages". These proved
of little value and were interfering with readability changes
in 6.c. Keep these in Rakudo's tests for now. If other impls need
it, we can always do an Appendix set of tests to the spec that impls
can optionally follow.

Orig: b7507b8
  • Loading branch information
zoffixznet committed Dec 24, 2017
1 parent 8581861 commit 20fe657
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions S09-typed-arrays/native-int.t
Expand Up @@ -139,10 +139,8 @@ for flat @int,@uint -> $T {
got => Str,
"Cannot push non-int/Int to $t array";
throws-like { @arr[0] := my $a }, Exception,
message => 'Cannot bind to a natively typed array',
"Cannot bind to $t array";
throws-like { @arr[0]:delete }, Exception,
message => 'Cannot delete from a natively typed array',
"Cannot delete from $t array";

is (@arr.push(101, 105)), (42,101,105),
Expand Down

0 comments on commit 20fe657

Please sign in to comment.