Skip to content

Commit

Permalink
build.sbt - Disable Scalac Optimizer since it is currently broken on …
Browse files Browse the repository at this point in the history
…Java 9+ when using Scala <= 2.12.6
  • Loading branch information
tpunder committed Sep 26, 2018
1 parent 985653a commit 6e2dd7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ scalacOptions := Seq(
"-Ywarn-unused-import"
) else Nil) ++ (if (scalaVersion.value.startsWith("2.12")) Seq(
// Scala 2.12 specific compiler flags
"-opt:l:inline",
"-opt-inline-from:<sources>",
// NOTE: These are currently broken on Scala <= 2.12.6 when using Java 9+ (will hopefully be fixed in 2.12.7)
//"-opt:l:inline",
//"-opt-inline-from:<sources>",
) else Nil)

sbtPlugin := true
Expand Down

0 comments on commit 6e2dd7c

Please sign in to comment.