From 0c2e8842036876c6b824fbbb68fc7100ef62e02d Mon Sep 17 00:00:00 2001 From: James Iry Date: Mon, 14 Jan 2013 06:55:23 -0800 Subject: SI-6963 Deprecates -Xmigration switch -Xmigration is specific to the 2.7 to 2.8 upgrade and is no longer relevant. There is no plan to maintain it so it will be removed. This commit deprecates it in anticipation. --- test/files/neg/t6963.check | 2 ++ test/files/neg/t6963.flags | 1 + test/files/neg/t6963.scala | 3 +++ 3 files changed, 6 insertions(+) create mode 100644 test/files/neg/t6963.check create mode 100644 test/files/neg/t6963.flags create mode 100644 test/files/neg/t6963.scala (limited to 'test') diff --git a/test/files/neg/t6963.check b/test/files/neg/t6963.check new file mode 100644 index 0000000000..41cb796b0b --- /dev/null +++ b/test/files/neg/t6963.check @@ -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 diff --git a/test/files/neg/t6963.flags b/test/files/neg/t6963.flags new file mode 100644 index 0000000000..0b6d71496a --- /dev/null +++ b/test/files/neg/t6963.flags @@ -0,0 +1 @@ +-Xmigration -deprecation -Xfatal-warnings \ No newline at end of file diff --git a/test/files/neg/t6963.scala b/test/files/neg/t6963.scala new file mode 100644 index 0000000000..4da52764f5 --- /dev/null +++ b/test/files/neg/t6963.scala @@ -0,0 +1,3 @@ + +object test { +} -- cgit v1.2.3