Permalink
Browse files

Merge pull request #1895 from JamesIry/SI_6963_2.10.x

SI-6963 Deprecates -Xmigration switch
  • Loading branch information...
paulp committed Jan 15, 2013
2 parents 9731065 + 0c2e884 commit 621f7a56c21686ebbd39b8ffe9282f917fe1f128
@@ -85,7 +85,8 @@ trait ScalaSettings extends AbsScalaSettings
val logFreeTerms = BooleanSetting ("-Xlog-free-terms", "Print a message when reification creates a free term.")
val logFreeTypes = BooleanSetting ("-Xlog-free-types", "Print a message when reification resorts to generating a free type.")
val maxClassfileName = IntSetting ("-Xmax-classfile-name", "Maximum filename length for generated classes", 255, Some((72, 255)), _ => None)
- val Xmigration28 = BooleanSetting ("-Xmigration", "Warn about constructs whose behavior may have changed between 2.7 and 2.8.")
+ val Xmigration28 = BooleanSetting ("-Xmigration", "Warn about constructs whose behavior may have changed between 2.7 and 2.8.").
+ withDeprecationMessage("This setting is no longer useful and will be removed. Please remove it from your build.")
val nouescape = BooleanSetting ("-Xno-uescape", "Disable handling of \\u unicode escapes.")
val Xnojline = BooleanSetting ("-Xnojline", "Do not use JLine for editing.")
val Xverify = BooleanSetting ("-Xverify", "Verify generic signatures in generated bytecode (asm backend only.)")
@@ -0,0 +1,2 @@
+error: -Xmigration is deprecated: This setting is no longer useful and will be removed. Please remove it from your build.
+one error found
@@ -0,0 +1 @@
+-Xmigration -deprecation -Xfatal-warnings
@@ -0,0 +1,3 @@
+
+object test {
+}

0 comments on commit 621f7a5

Please sign in to comment.