summaryrefslogtreecommitdiff
path: root/test/files/neg/migration28.check
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2011-12-07 17:20:29 +0100
committerSimon Ochsenreither <simon@ochsenreither.de>2011-12-07 21:40:49 +0100
commit60b90b18d6407b886ed9f12061406fd3ece05e29 (patch)
tree9dc557c387063597c6bf3058666e28495770480e /test/files/neg/migration28.check
parent332fec96e31840878bed41dd7b5314b97d8da7c2 (diff)
downloadscala-60b90b18d6407b886ed9f12061406fd3ece05e29.tar.gz
scala-60b90b18d6407b886ed9f12061406fd3ece05e29.tar.bz2
scala-60b90b18d6407b886ed9f12061406fd3ece05e29.zip
Migration message and version cleanup
The @migration annotation can now be used like @deprecation. Old syntax is still supported, but deprecated. Improve wording and consistency of migration messages, migration warnings also print the version in which the change occurred now. Partially fixes SI-4990.
Diffstat (limited to 'test/files/neg/migration28.check')
-rw-r--r--test/files/neg/migration28.check5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/files/neg/migration28.check b/test/files/neg/migration28.check
index 97146e88f7..d7dfacf3db 100644
--- a/test/files/neg/migration28.check
+++ b/test/files/neg/migration28.check
@@ -1,6 +1,5 @@
-migration28.scala:4: error: method scanRight in trait TraversableLike has changed semantics:
-This scanRight definition has changed in 2.9.
-The previous behavior can be reproduced with scanRight.reverse.
+migration28.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