We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
val m = (x: Int) ?=> x // query style, mirrors type val n = (using x: Int) ?=> x // mixing styles val o = (using x: Int) => x // used by the MOOC
they all compile
Only one of these should be accepted I assume. Looking at the syntax these are all legitimate, but the docs uses the third kind
The text was updated successfully, but these errors were encountered:
Yes! I vote for the last one.
Sorry, something went wrong.
Yes, it was an oversight that the old syntax was not removed. I'll get to it.
e75f7cc
Merge pull request #10088 from dotty-staging/fix-#10056
85964c0
Fix #10056: Drop old context function closure syntax
Revert "Fix scala#10056: Drop old context function closure syntax"
9379c53
This reverts commit e75f7cc.
749c461
c97d597
odersky
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Minimized example
Output
they all compile
Expectation
Only one of these should be accepted I assume. Looking at the syntax these are all legitimate, but the docs uses the third kind
The text was updated successfully, but these errors were encountered: