This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Speaking of Range

No replies
dcsobral
Joined: 2009-04-23,
User offline. Last seen 38 weeks 5 days ago.
Speaking of Range, 2535 (http://lampsvn.epfl.ch/trac/scala/ticket/2535) could use some love.   Presently, Range is silently broken for all ranges r where r.last + r.step results in integer overflow. I think it should be fixed, but at the very least there should be an exception when ranges are created with broken parameters.

--
Daniel C. Sobral

I travel to the future all the time.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland