We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Xfuture
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
The following code fails with scalac -Xfuture test.scala, but Dotty compiles without problem:
scalac -Xfuture test.scala
object Test { case object Bob { override def equals(other: Any) = true } def f(x: Any): Bob.type = x match { case x @ Bob => x } }
This is a separate issue extracted from #1463.
The text was updated successfully, but these errors were encountered:
fix scala#3200: bind var for singleton pattern get scrutinee type
74284f2
Related issues: https://issues.scala-lang.org/browse/SI-1503 scala#1463
0b20a04
32ece43
045508c
Merge pull request #4022 from dotty-staging/fix-3200
fe8386d
Fix #3200: bind var for singleton pattern get scrutinee type
liufengyun
No branches or pull requests
The following code fails with
scalac -Xfuture test.scala
, but Dotty compiles without problem:This is a separate issue extracted from #1463.
The text was updated successfully, but these errors were encountered: