Created
March 10, 2013 03:29
-
-
Save tototoshi/5126989 to your computer and use it in GitHub Desktop.
Modularizing Language Features sucks.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"-language:_"
で、全部有効にできたはず