-
Notifications
You must be signed in to change notification settings - Fork 396
Adapt to Scala 2.12 trait encoding (removal of impl classes) #2285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sure, I'll work on this today. We already have default methods in the IR and the linker, so it's only the compiler plugin that needs some work. |
@retronym I get this when I add the resolver you mentioned and switch to 2.12.0-03cc6f9-SNAPSHOT:
Is there another resolver somewhere for the nightlies of scala-xml and scala-parser-combinators that I can use? |
@sjrd Oh sorry, you also need: https://scala-ci.typesafe.com/artifactory/scala-release-temp/ |
OK thanks now I can resolve everything. Working on it. |
…ses). The main changes are actually related to keeping source compatibility with older versions, through more compat hacks. Also: * Use isTraitOrInterface instead of isInterface to identify something that should be an interface at the IR level. * A method is abstract iff its body is EmptyTree.
…ses). The main changes are actually related to keeping source compatibility with older versions, through more compat hacks. Also: * Use isTraitOrInterface instead of isInterface to identify something that should be an interface at the IR level. * A method is abstract iff its body is EmptyTree.
Fix #2285: Adapt to 2.12 trait encoding (removal of impl classes).
We've just run a community build against my pull request, scala/scala#5003, that changes the Scala 2.12 trait encoding.
I was pleasantly surprised to find that everything worked... well everything other than Scala JS.
Here are the compile failure, related to methods I've removed about impl classes.
You can experiment with this build with 2.12.0-03cc6f9-SNAPSHOT from
"pr-scala snapshots" at "https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/"
Would you be willing to adapt to these changes on a 2.12.x branch of ScalaJS?
The text was updated successfully, but these errors were encountered: