summaryrefslogtreecommitdiff
path: root/test/files/neg/t6120.check
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2016-04-02 13:38:15 +0200
committerSimon Ochsenreither <simon@ochsenreither.de>2016-05-28 21:42:40 +0200
commit673350e08af72454fe9df87ae7f3292893e44d3c (patch)
tree7bff97a5ba4dafd0836f529589e8572175a442e7 /test/files/neg/t6120.check
parent981e3c51d5040ea808b5f699718db55241ee42cf (diff)
downloadscala-673350e08af72454fe9df87ae7f3292893e44d3c.tar.gz
scala-673350e08af72454fe9df87ae7f3292893e44d3c.tar.bz2
scala-673350e08af72454fe9df87ae7f3292893e44d3c.zip
SI-9084 Add `since` (if available) to deprecation warnings
Diffstat (limited to 'test/files/neg/t6120.check')
-rw-r--r--test/files/neg/t6120.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t6120.check b/test/files/neg/t6120.check
index f432fde32f..b7a5d8bf17 100644
--- a/test/files/neg/t6120.check
+++ b/test/files/neg/t6120.check
@@ -6,13 +6,13 @@ See the Scaladoc for value scala.language.postfixOps for a discussion
why the feature should be explicitly enabled.
def f = null == null bippy
^
-t6120.scala:5: warning: method bippy in class BooleanOps is deprecated: bobo
+t6120.scala:5: warning: method bippy in class BooleanOps is deprecated (since 2.11.0): bobo
def f = null == null bippy
^
t6120.scala:5: warning: comparing values of types Null and Null using `==' will always yield true
def f = null == null bippy
^
-t6120.scala:6: warning: method bippy in class BooleanOps is deprecated: bobo
+t6120.scala:6: warning: method bippy in class BooleanOps is deprecated (since 2.11.0): bobo
def g = true.bippy
^
error: No warnings can be incurred under -Xfatal-warnings.