We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124aeff commit 43346dcCopy full SHA for 43346dc
project/Build.scala
@@ -589,6 +589,13 @@ object Build {
589
590
// Settings shared between scala3-compiler and scala3-compiler-bootstrapped
591
lazy val commonDottyCompilerSettings = Seq(
592
+ /* Ignore a deprecation warning about AnyRefMap in scalajs-ir. The latter
593
+ * cross-compiles for 2.12, and therefore AnyRefMap remains useful there
594
+ * for performance reasons.
595
+ * The build of Scala.js core does the same thing.
596
+ */
597
+ scalacOptions += "-Wconf:cat=deprecation&origin=scala\\.collection\\.mutable\\.AnyRefMap.*:s",
598
+
599
// Generate compiler.properties, used by sbt
600
(Compile / resourceGenerators) += Def.task {
601
import java.util._
0 commit comments