Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid description for Range.apply(start: Int, end: Int): Range #5344

Closed
scabug opened this issue Dec 28, 2011 · 2 comments

Comments

@scabug
Copy link

commented Dec 28, 2011

Current description:

Make an range from start to end inclusive with step value 1.

Should be 'exclusive', not 'inclusive'. Output from REPL:

scala> Range(1, 5)
res35: scala.collection.immutable.Range = Range(1, 2, 3, 4)

The description taken from http://www.scala-lang.org/api/current/index.html#scala.collection.immutable.Range$.

@scabug

This comment has been minimized.

Copy link
Author

commented Dec 28, 2011

Imported From: https://issues.scala-lang.org/browse/SI-5344?orig=1
Reporter: Marcin Gałązka (marcin.galazka)
Affected Versions: 2.9.1

@scabug scabug closed this May 8, 2012

@scabug

This comment has been minimized.

Copy link
Author

commented May 8, 2012

@hubertp said:
Fixed in b7f92af

@scabug scabug added the docs label Apr 7, 2017

@scabug scabug added this to the 2.10.0-M3 milestone Apr 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.