diff options
author | Rex Kerr <ichoran@gmail.com> | 2014-12-06 14:18:24 -0800 |
---|---|---|
committer | Rex Kerr <ichoran@gmail.com> | 2014-12-06 14:18:24 -0800 |
commit | 9f2083b88e003a3f2a641460244c44b0f1f06821 (patch) | |
tree | 3fc2ebabb001b7a016a3c78b1e4b2680c0b2f865 /test/files/neg/t3987.scala | |
parent | 881048933667dc3e021d557e9f79e0850ac84712 (diff) | |
download | scala-9f2083b88e003a3f2a641460244c44b0f1f06821.tar.gz scala-9f2083b88e003a3f2a641460244c44b0f1f06821.tar.bz2 scala-9f2083b88e003a3f2a641460244c44b0f1f06821.zip |
SI-8950 SeqView and StreamView allow indexing out of a slice
Added `idx >= 0` tests for `SeqViewLike#Sliced` `apply` and `mutable.IndexedSeqViewLike#Sliced` `unapply`. Now you get `IndexOutOfBoundsException`s as you should.
No tests; this was found by collections-laws and will be tested by them. (Exact variants in bug report were tested in the REPL.)
Diffstat (limited to 'test/files/neg/t3987.scala')
0 files changed, 0 insertions, 0 deletions