False-negative conflicting base types when inherits Java class and interface. #22311
Labels
area:overloading
area:reporting
Error reporting including formatting, implicit suggestions, etc
itype:bug
regression:scala2
Compiler version
3.6.3-RC2, 3.6.4-RC1-bin-20241231-1f0c576-NIGHTLY
Minimized code
Output
passed
Expectation
error: class A0 has conflicting base types I0[String] and I0[Object].
We can see a similar but not very clear error in scala2:
The text was updated successfully, but these errors were encountered: