Skip to content

Commit

Permalink
fix scalacOptions. Scala 2.12.0-M4 does not support -Ybackend:GenBCode
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Apr 28, 2016
1 parent 3444e7f commit 370d8c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,12 @@ object build extends Build {
"-unchecked"
) ++ (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2,10)) => scalac210Options
case _ => Seq(
case Some((2,11)) => Seq(
"-Ybackend:GenBCode",
"-Ydelambdafy:method",
"-target:jvm-1.8"
)
case _ => Nil
}),

scalacOptions in (Compile, doc) ++= {
Expand Down

0 comments on commit 370d8c3

Please sign in to comment.