Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'rt125457' of https://github.com/zostay/roast into zosta…
…y-rt125457
  • Loading branch information
dwarring committed Jun 23, 2015
2 parents d2eddcc + 054be39 commit 89da7f0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion S32-array/delete.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 31;
plan 32;

=begin description
Expand Down Expand Up @@ -123,6 +123,14 @@ sub make-string(@a) {
'deletion of trailing item does not purge elements we assigned to (2)';
}

# RT #125457
{
my @array = 1, 2, 3;
@array[2]:delete;
@array[3] = 4;
is @array[2], Any, 'deletion of trailing item followed by add item beyond does not resurrect deleted item';
}

# TODO More exclusive bounds checks

# TODO W/ multiple ranges
Expand Down

0 comments on commit 89da7f0

Please sign in to comment.