stevedlawrence commented on a change in pull request #76: Allow Daffodil to
build against Scala 2.12
URL: https://github.com/apache/incubator-daffodil/pull/76#discussion_r195523244
##########
File path: build.sbt
##########
@@ -92,24 +92,13 @@ lazy val testStdLayout =
Project("daffodil-test-stdLayout", file("test-stdLay
lazy val commonSettings = Seq(
organization := "org.apache.daffodil",
version := "2.2.0-SNAPSHOT",
- scalaVersion := "2.11.8",
+ scalaVersion := "2.12.6",
scalacOptions ++= Seq(
"-deprecation",
"-language:experimental.macros",
"-unchecked",
"-Xfatal-warnings",
"-Xxml:-coalescing",
- "-Ybackend:GenBCode",
- "-Ydead-code",
- "-Yinline" ,
- "-Yinline-warnings",
- "-Yopt:inline-global",
- "-Yopt-warnings",
- "-Ywarn-inaccessible",
- "-Ywarn-infer-any",
- "-Ywarn-nullary-override",
- "-Ywarn-unused",
- "-Ywarn-unused-import"
Review comment:
I guess these -Y options are no longer supported in Scala 2.12? Or is 2.12
just better at detecting some warnings? I don't think removing this is a
blocker, but we should investigate adding back some of these warnings where it
makes sense.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services