summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions-2.check
diff options
context:
space:
mode:
authorRui Gonçalves <ruippeixotog@gmail.com>2014-11-11 01:45:22 +0000
committerRui Gonçalves <ruippeixotog@gmail.com>2014-11-11 01:45:22 +0000
commit729e7a91f43c327a9514fa53045842eb3e7db49b (patch)
treefa095f4c45f93cac76c4271a90efafbb2d3e81fb /test/files/run/exceptions-2.check
parent0e8c6dac596279414dce576aa9f88289aa582fcc (diff)
downloadscala-729e7a91f43c327a9514fa53045842eb3e7db49b.tar.gz
scala-729e7a91f43c327a9514fa53045842eb3e7db49b.tar.bz2
scala-729e7a91f43c327a9514fa53045842eb3e7db49b.zip
SI-8932 Fix dropRight/takeRight implementations
I looked up at all the overrides of `IterableLike#takeRight` and `IterableLike#dropRight` and replaced usages of its argument `n` with `math.max(n, 0)` every time it was being used in an index subtraction. Fixes [SI-8932](https://issues.scala-lang.org/browse/SI-8932).
Diffstat (limited to 'test/files/run/exceptions-2.check')
0 files changed, 0 insertions, 0 deletions