diff options
author | Rui Gonçalves <ruippeixotog@gmail.com> | 2014-11-11 01:45:22 +0000 |
---|---|---|
committer | Rui Gonçalves <ruippeixotog@gmail.com> | 2014-11-11 01:45:22 +0000 |
commit | 729e7a91f43c327a9514fa53045842eb3e7db49b (patch) | |
tree | fa095f4c45f93cac76c4271a90efafbb2d3e81fb /src/reflect | |
parent | 0e8c6dac596279414dce576aa9f88289aa582fcc (diff) | |
download | scala-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 'src/reflect')
0 files changed, 0 insertions, 0 deletions