summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvican <jorgevc@fastmail.es>2015-10-18 21:09:02 +0200
committerjvican <jorgevc@fastmail.es>2015-11-04 22:10:05 +0100
commitd6e759165e57a9d920e7008774a81e190be7edde (patch)
tree36d06e77f9542cf1b4782d1da078aba8f4de92aa
parentcea7de026ddcf5aa846edc2b9e2e00b608acda2c (diff)
downloadscala-d6e759165e57a9d920e7008774a81e190be7edde.tar.gz
scala-d6e759165e57a9d920e7008774a81e190be7edde.tar.bz2
scala-d6e759165e57a9d920e7008774a81e190be7edde.zip
[SI-9503] Deprecate scala.collection.immutable.PagedSeq
-rw-r--r--src/library/scala/collection/immutable/PagedSeq.scala3
-rw-r--r--test/files/run/t3647.check1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/library/scala/collection/immutable/PagedSeq.scala b/src/library/scala/collection/immutable/PagedSeq.scala
index a86d4b6746..982c10687c 100644
--- a/src/library/scala/collection/immutable/PagedSeq.scala
+++ b/src/library/scala/collection/immutable/PagedSeq.scala
@@ -23,6 +23,7 @@ import scala.reflect.ClassTag
* `fromIterator` and `fromIterable` provide generalised instances of `PagedSeq`
* @since 2.7
*/
+@deprecated("This object will be moved to the scala-parser-combinators module", "2.11.8")
object PagedSeq {
final val UndeterminedEnd = Int.MaxValue
@@ -126,7 +127,7 @@ import PagedSeq._
* @define mayNotTerminateInf
* @define willNotTerminateInf
*/
-@deprecatedInheritance("The implementation details of paged sequences make inheriting from them unwise.", "2.11.0")
+@deprecated("This class will be moved to the scala-parser-combinators module", "2.11.8")
class PagedSeq[T: ClassTag] protected(
more: (Array[T], Int, Int) => Int,
first1: Page[T],
diff --git a/test/files/run/t3647.check b/test/files/run/t3647.check
new file mode 100644
index 0000000000..e5c1ee1701
--- /dev/null
+++ b/test/files/run/t3647.check
@@ -0,0 +1 @@
+warning: there were three deprecation warnings; re-run with -deprecation for details