Skip to content

Commit

Permalink
Add more Scala 3 scalacOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-kai committed Feb 28, 2024
1 parent e9c92dc commit cdf1ba0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion sbtgen/src/main/scala/izumi/sbtgen/Defaults.scala
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,17 @@ object Defaults {
"-release:8", // Target JDK8

"-Ykind-projector:underscores", // Use underscore type-lambda syntax by default
"-no-indent",

"-Yretain-trees", // retain trees for macros

"-no-indent", // disable indentation syntax
"-explain",
"-explain-types", // Explain type errors in more detail.

"-Xmax-inlines:64", // increase inline limit

"-Wconf:msg=eta-expanded even though:silent", // disable harmful anti-SAM warning

// CRaw("""if (insideCI.value) "-Wconf:any:error" else "-Wconf:any:warning""""), // enable fatal warnings on CI
)

Expand Down

0 comments on commit cdf1ba0

Please sign in to comment.