We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would expect
Range(1,30).init scala.collection.immutable.Range = Range(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
Instead I get scala.collection.immutable.Range = Range(1)
This works: Range(1,30).toList.init List[Int] = List(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 1 8, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-4748?orig=1 Reporter: Montez Fitzpatrick (m15k) Affected Versions: 2.9.0
Sorry, something went wrong.
Commit Message Bot (anonymous) said: (extempore in r25209) Fix for unfortunate bug in Range.init. Closes #4748, no review.
paulp
No branches or pull requests
I would expect
Instead I get
scala.collection.immutable.Range = Range(1)
This works:
Range(1,30).toList.init
List[Int] = List(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 1
8, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
The text was updated successfully, but these errors were encountered: