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
Does it also happen if you do not do an export of an outer class? That one looks positively weird to me, and it might well mess with initialization order/
This arises since constructor proxies are only created for classes, and exports give type aliases, not classes. Maybe a better solution would be to find a way to allow constructor proxies also for type aliases.
When creating an exported type alias of a class that has a constructor proxy companion,
export an alias for that companion with it. The alias is again a constructor proxy.
Fixesscala#11229
Uh oh!
There was an error while loading. Please reload this page.
Compiler version
3.0.0-RC1-bin-SNAPSHOT
at e10cfa8Minimized example
Output
Expectation
no compilation error. If I add a companion to
Bar
then there is no error.This is against my expectation because usually classes have creator proxies synthesized if no companion is explicitly declared
The text was updated successfully, but these errors were encountered: