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
The problem is detected just before erasure in ResolveSuper where super accessors are resolved. g in trait A does not generate code, so there's nothing to resolve.
Maybe we could avoid the super accessor if the call goes to an inline method? Inline methods cannot be overridden, so the super accessor is not needed, it seems.
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
May 26, 2023
Compiler version
3.3.0-RC4
Minimized code
Output
Expectation
Should compile
The text was updated successfully, but these errors were encountered: