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
for-loops are just syntactic sugar for flatMap/map/foreach.
I would expect the following snippet to be accepted [[ for { implicit i <- List(1, 2, 3) } printInt ]]
because this one is ok [[ List(1, 2, 3) foreach { implicit i => printInt } ]]
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-5602?orig=1 Reporter: Alexandre Bertails (betehess) Duplicates #2823
Sorry, something went wrong.
No branches or pull requests
for-loops are just syntactic sugar for flatMap/map/foreach.
I would expect the following snippet to be accepted
[[
for { implicit i <- List(1, 2, 3) } printInt
]]
because this one is ok
[[
List(1, 2, 3) foreach { implicit i => printInt }
]]
The text was updated successfully, but these errors were encountered: