-
Notifications
You must be signed in to change notification settings - Fork 91
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
Publish for Scala 3 + Native #511
Conversation
Drop 3.0.x and pretend it never existed, use 3.1.x for JVM, JS and Native platforms
Scala 3 doesn't allow to call method with parentheses without them. Normally class can extends trait/interface and overwrite their def's using val/override val no matter if def was declared with or without parentheses. However for Scala 3 this is no llonger true. This PR uses a workaround with underscores.
Co-authored-by: Sébastien Doeraene <sjrdoeraene@gmail.com>
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.0") | ||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.6.0") | ||
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.4") | ||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.10.0") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scala.js 1.10 is forward+backward compatible through Scala.js 1.8. So downstreams can stay on 1.8 if they wish and are not forced to upgrade.
This reverts commit b2d9743.
Co-authored-by: Sébastien Doeraene <sjrdoeraene@gmail.com>
@armanbilge https://github.com/scalameta/munit/tree/series/0.7 is at your disposal. |
Green! Although credit where credit's due, I didn't contribute a single change to this PR 😂 |
On Discord we decided instead of backporting to 0.7.x it's time to cut a stable 1.0. So closing in favor of the other PR. |
Since 0.4.4, Scala Native supports Scala 3. The update to the munit testing library was necessary because the 0.x series does not support Scala Native on 3 [1]. [1]: scalameta/munit#511
Since 0.4.4, Scala Native supports Scala 3. The update to the munit testing library was necessary because the 0.x series does not support Scala Native on 3 [1]. [1]: scalameta/munit#511
Supersedes/backports (?) #477.
This PR is based against 92f3ad9 aka v0.7.29. This is so that these changes can be released as 0.7.30, instead of a milestone of 1.0.0 which the ecosystem has not yet adopted.
Since there are conflicts with subsequent changes on
main
, I'll need aseries/0.7
branch to target this to.