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
The following code is rejected by Dotty, but accepted by Scalac:
class Foo(config: String) { case class Bar(val x: Int) { def doThings: String = config //Do whatever here } } object Test { def test(foo: Foo)(bar: foo.Bar = foo.Bar(5)) = ??? test(new Foo("port"))() }
The error message:
11 | test(new Foo("port"))() | ^^^^^^^^^^^^^^^^^^^^^ | found: foo$1.Bar | required: ?1.Bar | | where: ?1 is an unknown value of type Foo
The text was updated successfully, but these errors were encountered:
fix scala#4419: liftFun should also update method parameter types
30c6d64
WIP - tests/pos/pickleinf.scala still fails
ec0a426
abf7924
Merge pull request #4428 from dotty-staging/fix-4419
0e0dab3
Fix #4419: liftFun should also update method parameter types
liufengyun
No branches or pull requests
The following code is rejected by Dotty, but accepted by Scalac:
The error message:
The text was updated successfully, but these errors were encountered: