Scala 2.13.15 release planning

Successfully tested Scala.js. For the existing release 1.16.0, the following two amendments need to be applied (they were added in the main branch since 1.1.6.0):

First, as with 2.13.14, we still need the following command to work around the fact that Any.scala and friends made their way into the source jar of the library:

set scalalibInternal.v2_13/Compile/sources ~= { val excludes = Set("Any.scala", "AnyRef.scala", "Nothing.scala", "Null.scala", "Singleton.scala"); prev => prev.filterNot(f => f.getParentFile.getName == "scala" && excludes.contains(f.getName)) }

Second, apply the following diff:

diff --git a/compiler/src/main/scala/org/scalajs/nscplugin/ScalaJSPlugin.scala b/compiler/src/main/scala/org/scalajs/nscplugin/ScalaJSPlugin.scala
index 5273a84b4..a67adbb94 100644
--- a/compiler/src/main/scala/org/scalajs/nscplugin/ScalaJSPlugin.scala
+++ b/compiler/src/main/scala/org/scalajs/nscplugin/ScalaJSPlugin.scala
@@ -77,7 +77,7 @@ class ScalaJSPlugin(val global: Global) extends NscPlugin {
     val jsAddons: ScalaJSPlugin.this.jsAddons.type = ScalaJSPlugin.this.jsAddons
     val scalaJSOpts = ScalaJSPlugin.this.scalaJSOpts
     override val runsAfter = List("typer")
-    override val runsBefore = List("pickle")
+    override val runsBefore = List("pickler")
   }
 
   object ExplicitInnerJSComponent extends ExplicitInnerJS[global.type](global) {
2 Likes