We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8082dd7 commit 6845396Copy full SHA for 6845396
project/Build.scala
@@ -739,6 +739,13 @@ object Build {
739
// Use source 3.3 to avoid fatal migration warnings on scalajs-ir
740
scalacOptions ++= Seq("-source", "3.3"),
741
742
+ /* Ignore a deprecation warning about AnyRefMap in scalajs-ir. The latter
743
+ * cross-compiles for 2.12, and therefore AnyRefMap remains useful there
744
+ * for performance reasons.
745
+ * The build of Scala.js core does the same thing.
746
+ */
747
+ scalacOptions += "-Wconf:cat=deprecation&origin=scala\\.collection\\.mutable\\.AnyRefMap.*:s",
748
+
749
// Generate compiler.properties, used by sbt
750
(Compile / resourceGenerators) += Def.task {
751
import java.util._
0 commit comments