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
@sjrd I looked into this a bit and doing this seems complicated by the fact that a sealed trait must be defined in the same file as its companion object (I don't think opaque types have the same rules).
So the only way I can see to do this would be to extract the companion object methods into a private[dom] trait that can be shared source between 2/3, and then extending it from the companion objects defined in both Scala 2 and Scala 3 sources seperately.
Seems a bit annoying but definitely do-able. Is there a better strategy?
See #579 (comment).
The text was updated successfully, but these errors were encountered: