@@ -4,7 +4,7 @@ def scalacOptionsVersion(scalaVersion: String): Seq[String] = {
44 // switch to support our anonymous Bundle definitions:
55 // https://github.com/scala/bug/issues/10047
66 CrossVersion .partialVersion(scalaVersion) match {
7- case Some ((2 , scalaMajor : Int )) if scalaMajor < 12 => Seq ()
7+ case Some ((2 , scalaMajor : Long )) if scalaMajor < 12 => Seq ()
88 case _ => Seq (" -Xsource:2.11" )
99 }
1010 }
@@ -16,7 +16,7 @@ def javacOptionsVersion(scalaVersion: String): Seq[String] = {
1616 // Java 7 compatible code for Scala 2.11
1717 // for compatibility with old clients.
1818 CrossVersion .partialVersion(scalaVersion) match {
19- case Some ((2 , scalaMajor : Int )) if scalaMajor < 12 =>
19+ case Some ((2 , scalaMajor : Long )) if scalaMajor < 12 =>
2020 Seq (" -source" , " 1.7" , " -target" , " 1.7" )
2121 case _ =>
2222 Seq (" -source" , " 1.8" , " -target" , " 1.8" )
@@ -30,9 +30,9 @@ version := "3.2-SNAPSHOT"
3030
3131name := " chisel-tutorial"
3232
33- scalaVersion := " 2.11.11 "
33+ scalaVersion := " 2.11.12 "
3434
35- crossScalaVersions := Seq (" 2.11.11 " , " 2.12.3 " )
35+ crossScalaVersions := Seq (" 2.11.12 " , " 2.12.4 " )
3636
3737scalacOptions ++= Seq (" -deprecation" , " -feature" , " -unchecked" , " -language:reflectiveCalls" )
3838
0 commit comments