Skip to content

Commit 88cd6e9

Browse files
committed
temporary ignore compiler warnings on Scala 3 to allow compiler upgrade
1 parent d24c0d8 commit 88cd6e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

project/BuildSettings.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ object BuildSettings {
4848
Dependencies.scalafixOrganizeImports
4949
),
5050
scalacOptions := {
51+
// TODO: solve compilation warnings on Scala 3
5152
CrossVersion.partialVersion(scalaVersion.value) match {
52-
case Some((3, _)) => scalacOptions.value ++ Seq("-source:future", "-language:adhocExtensions")
53+
case Some((3, _)) => scalacOptions.value.filterNot(_ == "-Xfatal-warnings") ++ Seq("-source:future", "-language:adhocExtensions")
5354
case Some((2, _)) => scalacOptions.value.filterNot(_ == "-Xfatal-warnings") ++ Seq("-Xsource:3")
5455
case _ => scalacOptions.value
5556
}

0 commit comments

Comments
 (0)