Overriding parameterless trait methods when cross compiling #16742
kyri-petrou
started this conversation in
General Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there. I'm trying to cross compile a library to Scala 3, but I'm stuck with the following:
In Scala 2.12 / 2.13 the following is allowed:
However, in Scala 3, the following error is raised:
Is there anything that could be done in this case (e.g., a compiler flag) to allow this code to be cross-compiled for both Scala 2 and 3?
Beta Was this translation helpful? Give feedback.
All reactions