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
Following code fails to type check in dotc, which is the second issue reported in #1707:
object DepBug { val dep = new { val a = 3 val b = 4 } dep.a + dep.b }
The text was updated successfully, but these errors were encountered:
fix scala#1743: fix typing of ValDef with anonymous class
a547054
This is intended. Type inference does not produce structural types in Dotty.
Sorry, something went wrong.
liufengyun
No branches or pull requests
Following code fails to type check in dotc, which is the second issue reported in #1707:
The text was updated successfully, but these errors were encountered: