summaryrefslogtreecommitdiff
path: root/test/files/run/bug3529.scala
Commit message (Collapse)AuthorAgeFilesLines
* Burned by a last minute adjustment, I lost the ...Paul Phillips2010-06-041-0/+2
| | | | | | | Burned by a last minute adjustment, I lost the downward counting direction. It is a seriously fiddly process to adjust Range and I don't recommend it to anyone. Closes #3529 over again. Review by prokopec.
* Discovered and disproved this unlikely truth:Paul Phillips2010-06-041-0/+12
scala> (1 to 1 drop 1) == (1 to 1) res0: Boolean = true It was introduced in r21349 which was to fix #2535, but led to #3529. I humbly suggest we can't afford to introduce bugs of this severity in the pursuit of corner cases such as Ranges which use Int.MaxValue as a boundary. And looking at the patch I find the "after" code a lot harder to follow. Closes #3529. Review by prokopec.