summaryrefslogtreecommitdiff
path: root/test/files/neg/t6963a.check
diff options
context:
space:
mode:
authorJames Iry <jamesiry@gmail.com>2013-01-28 08:55:34 -0800
committerJames Iry <jamesiry@gmail.com>2013-01-29 13:14:17 -0800
commit1de399d3c655807465c6369f77d08e57743e7eaa (patch)
treee967c0bf49de2ee368a137cf91308de623bc9d13 /test/files/neg/t6963a.check
parentd4de6f4cc6c3f0f9d7810c6e9a10147a0406e3f5 (diff)
downloadscala-1de399d3c655807465c6369f77d08e57743e7eaa.tar.gz
scala-1de399d3c655807465c6369f77d08e57743e7eaa.tar.bz2
scala-1de399d3c655807465c6369f77d08e57743e7eaa.zip
SI-6963 Add version to -Xmigration
Adds an optional version parameter to the -Xmigration compiler setting. Doing -Xmigration without version number behaves as it used to by dumping every possible migration warning. This commit adds a ScalaVersion class (plus ancillary stuff), and a ScalaVersionSetting.
Diffstat (limited to 'test/files/neg/t6963a.check')
-rw-r--r--test/files/neg/t6963a.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t6963a.check b/test/files/neg/t6963a.check
new file mode 100644
index 0000000000..159896fd10
--- /dev/null
+++ b/test/files/neg/t6963a.check
@@ -0,0 +1,5 @@
+t6963a.scala:4: error: method scanRight in trait TraversableLike has changed semantics in version 2.9.0:
+The behavior of `scanRight` has changed. The previous behavior can be reproduced with scanRight.reverse.
+ List(1,2,3,4,5).scanRight(0)(_+_)
+ ^
+one error found