You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bridge generated for member objectTabbedPaneLayoutMetalTabbedPaneUI.this.TabbedPaneLayout in classMetalTabbedPaneUI
which overrides objectTabbedPaneLayoutBasicTabbedPaneUI.this.TabbedPaneLayout in classBasicTabbedPaneUI
clashes with definition of the member itself; both have erased typeMetalTabbedPaneUI.this.TabbedPaneLayout."
Expectation
It should compile.
The text was updated successfully, but these errors were encountered:
This already fails in 3.0.0 and 3.0.2. It's a regression wrt. Scala 2.x. 2.13.8 successfully compiles this snippet.
The TabbedPaneLayout it complains about is an inner class of two superclasses: MetalTabbedPaneUI#TabbedPaneLayout, but also BasicTabbedPaneUI#TabbedPaneLayout. Hence the clash. But no bridge should be generated for those things in the first place, since they're Java inner classes, not terms.
This already fails in 3.0.0 and 3.0.2. It's a regression wrt. Scala 2.x. 2.13.8 successfully compiles this snippet.
The TabbedPaneLayout it complains about is an inner class of two superclasses: MetalTabbedPaneUI#TabbedPaneLayout, but also BasicTabbedPaneUI#TabbedPaneLayout. Hence the clash. But no bridge should be generated for those things in the first place, since they're Java inner classes, not terms.
Interesting, it did compile on 3.0.0-RC1, I had a project at that version and found the issue when updating.
Compiler version
3.1.+ all the way to 3.1.3RC
Minimized code
Output
Expectation
It should compile.
The text was updated successfully, but these errors were encountered: