-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
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
MatchError when calling a public method inherited from a default class #17391
Comments
theosotr
added
itype:bug
itype:crash
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
May 2, 2023
mbovel
added
compat:java
area:typer
and removed
stat:needs triage
Every issue needs to have an "area" and "itype" label
labels
May 4, 2023
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Jun 25, 2023
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Jun 26, 2023
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Jun 26, 2023
The original qualifier type was computed in the wrong context. For the logic to make sense, it needs to compute the type before erasure and then erase that type. That fixes scala#17391 by now compiling it correctly, the same way Scala 2 does.
odersky
added a commit
that referenced
this issue
Jul 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
3.2.2
Minimized code
I have the following Java code
which is called from the following Scala code:
Output
Expectation
Compile successfully
The text was updated successfully, but these errors were encountered: