From e2ea43336140f371e468af39a194c7203eefd48c Mon Sep 17 00:00:00 2001 From: extempore Date: Sat, 18 Jun 2011 18:37:55 +0000 Subject: [PATCH] The usual unbreaking of broken builds, no review. git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25106 5e8d7ff9-d8ef-0310-90f0-a4852d11357a --- src/library/scala/Math.scala | 2 +- test/files/neg/t3773.check | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/scala/Math.scala b/src/library/scala/Math.scala index 94620a038..706537333 100644 --- a/src/library/scala/Math.scala +++ b/src/library/scala/Math.scala @@ -13,7 +13,7 @@ package scala * operations such as the elementary exponential, logarithm, square root, and * trigonometric functions. */ -@deprecated("use the [[scala.math]] package object instead.\n(Example package object usage: `scala.math.Pi`)", "2.8.0") +@deprecated("use the scala.math package object instead.\n(Example package object usage: scala.math.Pi )", "2.8.0") object Math extends MathCommon { @deprecated("Use `scala.Byte.MinValue` instead", "2.8.0") val MIN_BYTE = java.lang.Byte.MIN_VALUE diff --git a/test/files/neg/t3773.check b/test/files/neg/t3773.check index 29a3e14d8..ea0e86616 100644 --- a/test/files/neg/t3773.check +++ b/test/files/neg/t3773.check @@ -1,4 +1,4 @@ -t3773.scala:3: error: method elements in trait IterableLike is deprecated: use `iterator' instead +t3773.scala:3: error: method elements in trait IterableLike is deprecated: use `iterator` instead for ((v, t) <- m.elements) () ^ one error found