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
produces a warning: Class A$B differs only in case from A$B.
The reason is that the trait B is moved into the primary constructor by Constructors, and then copied into the constructor of the specialized subclass. So the class is generated twice in the backend.
The text was updated successfully, but these errors were encountered:
(Reporting this for reference, to have an issue number. I have a fix already.)
Reported on scala-internals by Georgi Jojgov.
produces a warning:
Class A$B differs only in case from A$B
.The reason is that the
trait B
is moved into the primary constructor by Constructors, and then copied into the constructor of the specialized subclass. So the class is generated twice in the backend.The text was updated successfully, but these errors were encountered: