Skip to content

Instantly share code, notes, and snippets.

@tototoshi
Created March 10, 2013 03:29
Show Gist options
  • Save tototoshi/5126989 to your computer and use it in GitHub Desktop.
Save tototoshi/5126989 to your computer and use it in GitHub Desktop.
Modularizing Language Features sucks.
scalacOptions <<= scalaVersion.map { sv =>
if (sv.startsWith("2.10")) {
Seq(
"-deprecation",
"-language:dynamics",
"-language:postfixOps",
"-language:reflectiveCalls",
"-language:implicitConversions",
"-language:higherKinds",
"-language:existentials",
"-language:reflectiveCalls",
"-language:experimental.macros"
)
} else {
Seq("-deprecation")
}
}
@xuwei-k
Copy link

xuwei-k commented Mar 10, 2013

"-language:_"

で、全部有効にできたはず

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment