scala/scala-collections-laws — pull request #10 by ruippeixotog (2014-11-15 19:36:19+00:00)
Title: SI-8932 Fix dropRight/takeRight implementations

This pull request complements [pull request #4128](https://github.com/scala/scala/pull/4128) in the scala repo. I created a new variable for laws providing integer values without any restrictions (i.e. from Int.MinValue to Int.MaxValue). Then, I fixed the laws regarding `takeWhile` and `dropWhile`.

I tested this pull request by making sure the law tests failed on the current `2.11.x` scala branch and passed on the pull request fixing the issue. I didn't include annotations for the issue in the laws because it affects too many collections (41 of them, I think) and it'll be a very short lived issue if the pull request is accepted in scala. But if you want, I can add a flag to the two laws and to all the affected classes.