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
object opaque { opaque type Foo[X] <: String = String } object test { val s: String = ???.asInstanceOf[opaque.Foo[_]] }
Found: guarana.swing.opaque.Foo[?] Required: String(7)
It should compile. Note that this does compile
object opaque { opaque type Foo <: String = String } object test { val s: String = ???.asInstanceOf[opaque.Foo] }
The text was updated successfully, but these errors were encountered:
Fix scala#8152: Fix type parameters for opaque bounds
9b61dd3
c7e9404
Merge pull request #8170 from dotty-staging/fix-#8152
0c96231
Fix #8152: Rearchitect some parts of opaque types handling
No branches or pull requests
minimized code
Compilation output
expectation
It should compile. Note that this does compile
The text was updated successfully, but these errors were encountered: