summaryrefslogtreecommitdiff
path: root/src/library/scala/Product.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-04-14 21:05:12 +0000
committerPaul Phillips <paulp@improving.org>2011-04-14 21:05:12 +0000
commit3de9030dca760325555d697e3082d714f84f5df5 (patch)
treef4e5c4869945092226f6e6645f5d38db43134df2 /src/library/scala/Product.scala
parenta0909c05738489c72237852e3ec3f748fc1b53b6 (diff)
downloadscala-3de9030dca760325555d697e3082d714f84f5df5.tar.gz
scala-3de9030dca760325555d697e3082d714f84f5df5.tar.bz2
scala-3de9030dca760325555d697e3082d714f84f5df5.zip
Adds "since" field to @deprecated.
for the patch, as it's a change I've always wanted. Moving up in the glamorous world of scala commits! No review.
Diffstat (limited to 'src/library/scala/Product.scala')
-rw-r--r--src/library/scala/Product.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Product.scala b/src/library/scala/Product.scala
index dfa04bbbe7..1dbf46b4c2 100644
--- a/src/library/scala/Product.scala
+++ b/src/library/scala/Product.scala
@@ -42,7 +42,7 @@ trait Product extends Equals {
def next() = { val result = productElement(c); c += 1; result }
}
- @deprecated("use productIterator instead")
+ @deprecated("use productIterator instead", "2.8.0")
def productElements: Iterator[Any] = productIterator
/** A string used in the `toString` methods of derived classes.