diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2016-04-02 13:38:15 +0200 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2016-05-28 21:42:40 +0200 |
commit | 673350e08af72454fe9df87ae7f3292893e44d3c (patch) | |
tree | 7bff97a5ba4dafd0836f529589e8572175a442e7 /test/files/run/t3235-minimal.check | |
parent | 981e3c51d5040ea808b5f699718db55241ee42cf (diff) | |
download | scala-673350e08af72454fe9df87ae7f3292893e44d3c.tar.gz scala-673350e08af72454fe9df87ae7f3292893e44d3c.tar.bz2 scala-673350e08af72454fe9df87ae7f3292893e44d3c.zip |
SI-9084 Add `since` (if available) to deprecation warnings
Diffstat (limited to 'test/files/run/t3235-minimal.check')
-rw-r--r-- | test/files/run/t3235-minimal.check | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/t3235-minimal.check b/test/files/run/t3235-minimal.check index d7f716002f..5b06572191 100644 --- a/test/files/run/t3235-minimal.check +++ b/test/files/run/t3235-minimal.check @@ -1,12 +1,12 @@ -t3235-minimal.scala:3: warning: method round in class RichInt is deprecated: This is an integer type; there is no reason to round it. Perhaps you meant to call this on a floating-point value? +t3235-minimal.scala:3: warning: method round in class RichInt is deprecated (since 2.11.0): This is an integer type; there is no reason to round it. Perhaps you meant to call this on a floating-point value? assert(123456789.round == 123456789) ^ -t3235-minimal.scala:4: warning: method round in package math is deprecated: This is an integer type; there is no reason to round it. Perhaps you meant to call this with a floating-point value? +t3235-minimal.scala:4: warning: method round in package math is deprecated (since 2.11.0): This is an integer type; there is no reason to round it. Perhaps you meant to call this with a floating-point value? assert(math.round(123456789) == 123456789) ^ -t3235-minimal.scala:5: warning: method round in class RichLong is deprecated: This is an integer type; there is no reason to round it. Perhaps you meant to call this on a floating-point value? +t3235-minimal.scala:5: warning: method round in class RichLong is deprecated (since 2.11.0): This is an integer type; there is no reason to round it. Perhaps you meant to call this on a floating-point value? assert(1234567890123456789L.round == 1234567890123456789L) ^ -t3235-minimal.scala:6: warning: method round in package math is deprecated: This is an integer type; there is no reason to round it. Perhaps you meant to call this with a floating-point value? +t3235-minimal.scala:6: warning: method round in package math is deprecated (since 2.11.0): This is an integer type; there is no reason to round it. Perhaps you meant to call this with a floating-point value? assert(math.round(1234567890123456789L) == 1234567890123456789L) ^ |