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
Community build bug found in https://github.com/vladkopanev/cats-saga Based on Open Community Build #2371 Part of #15647 regressions tracker
All Scala 3 versions Compiles with Scala 2 (2.13.8)
class Foo{ def bar[T](fn: () => T): T = ??? } object Test { val x = new Foo x bar(() => "hello") // is fine x bar[String](() => "world") // does not compile }
[error] ./test.scala:8:8: expression expected but '[' found [error] x bar[String](() => "hello") [error]
Should compile
The text was updated successfully, but these errors were encountered:
It came up previously that type args to infix application was a Scala 2 easter egg but not supportable.
I didn't find the discussion but there is a request for enhancement.
lampepfl/dotty-feature-requests#106
Sorry, something went wrong.
Yes, we are not supporting this, and I think we don't want to.
No branches or pull requests
Community build bug found in https://github.com/vladkopanev/cats-saga
Based on Open Community Build #2371
Part of #15647 regressions tracker
Compiler version
All Scala 3 versions
Compiles with Scala 2 (2.13.8)
Minimized code
Output
Expectation
Should compile
The text was updated successfully, but these errors were encountered: