Skip to content

Commit eb77cba

Browse files
committed
Remove -Wsafe-init option
scala/scala3#22442
1 parent de75bce commit eb77cba

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

build.sbt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ val commonSettings = Seq(
5353
ScalacOptions.other("-indent"),
5454
ScalacOptions.explain,
5555
ScalacOptions.release("21"),
56-
ScalacOptions.other(
57-
"-Wsafe-init"
58-
), // fix in: https://github.com/typelevel/scalac-options/pull/136
5956
),
6057
libraryDependencies ++= Seq(
6158
Dependencies.catsCore.value,
@@ -76,7 +73,6 @@ val commonJsSettings = Seq(
7673
)
7774

7875
val kantan = crossProject(JSPlatform, JVMPlatform)
79-
.settings(scalacOptions -= "-Xfatal-warnings", scalacOptions += "-Wconf:all")
8076
.jsSettings(commonJsSettings)
8177

8278
val compiler = crossProject(JSPlatform, JVMPlatform)

compiler/shared/src/test/scala/grox/ExprFlatten.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ extension (e: Expr)
3131
case Expr.Literal(tag, true) => List(True(tag))
3232
case Expr.Literal(tag, false) => List(False(tag))
3333
case Expr.Literal(tag, ()) => List(Null(tag))
34+
case _ => List.empty

0 commit comments

Comments
 (0)