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
[error] Export.scala:2:16
[error] error overriding method toString in classAny of type ():String;
[error] method toString of type ():String cannot override since it comes from an export
[error] exportinner.*
[error] ^
Expectation
This should compile, just as it would if the type of inner was a case class (#13234).
Compiler version
3.3.1-RC1-bin-20230524-5262680-NIGHTLY and before
Minimized code
Output
Expectation
This should compile, just as it would if the type of
inner
was a case class (#13234).Currently as a workaround one has to write
The text was updated successfully, but these errors were encountered: