summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-11-01 14:26:28 +0000
committerPaul Phillips <paulp@improving.org>2010-11-01 14:26:28 +0000
commit00b42b18ed462db89956de881bbc13740cd8ba82 (patch)
tree6be826d0465cd687d17ac98daf08f5a945ef69b2 /docs
parent6beaf28e6d25535ac9a1d4abe195bb32ebff8c15 (diff)
downloadscala-00b42b18ed462db89956de881bbc13740cd8ba82.tar.gz
scala-00b42b18ed462db89956de881bbc13740cd8ba82.tar.bz2
scala-00b42b18ed462db89956de881bbc13740cd8ba82.zip
Took a step back and massively simplified Range.
all the boundary conditions I'm aware of, including not yet reported ones such as scala> 5 until 5 last res0: Int = 4 and scala> 1073741823 to Int.MaxValue by (1 << 24) size res0: Int = 65 scala> 1073741823 to Int.MaxValue by (1 << 24) drop 100 size res1: Int = 256 Also includes conformance improvements (e.g. 5 until 5 init should throw an exception, not return empty) and general improvements (e.g. 1 to 10 tail should return a Range.) Will close associated tickets such as #3232 after I complete similar work on NumericRange. Review by community.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions