diff options
author | Rex Kerr <ichoran@gmail.com> | 2014-11-21 17:20:41 -0800 |
---|---|---|
committer | Rex Kerr <ichoran@gmail.com> | 2014-11-21 17:20:41 -0800 |
commit | 7cf0370ef9e68b60f594143447b753945a8a8780 (patch) | |
tree | 3c46fbe66b663ad94a88cef80ef05f69d0490cd3 /test/scaladoc/resources/Trac4289.scala | |
parent | c4df20d29a8d15ef23cf0d10fad56da0791bbbf6 (diff) | |
download | scala-7cf0370ef9e68b60f594143447b753945a8a8780.tar.gz scala-7cf0370ef9e68b60f594143447b753945a8a8780.tar.bz2 scala-7cf0370ef9e68b60f594143447b753945a8a8780.zip |
SI-6519 PagedSeq is not lazy enough
This was actually an issue with `length` of all things--it wasn't stopping scanning when it was past the end of what was requested. It'd just gratuitously read everything.
Also fixed an overflow bug with isDefinedAt along the way (start + index > Int.MaxValue would always return true despite never working).
Diffstat (limited to 'test/scaladoc/resources/Trac4289.scala')
0 files changed, 0 insertions, 0 deletions