Skip to content

Commit d6e7591

Browse files
committed
[SI-9503] Deprecate scala.collection.immutable.PagedSeq
1 parent cea7de0 commit d6e7591

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/library/scala/collection/immutable/PagedSeq.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import scala.reflect.ClassTag
2323
* `fromIterator` and `fromIterable` provide generalised instances of `PagedSeq`
2424
* @since 2.7
2525
*/
26+
@deprecated("This object will be moved to the scala-parser-combinators module", "2.11.8")
2627
object PagedSeq {
2728
final val UndeterminedEnd = Int.MaxValue
2829

@@ -126,7 +127,7 @@ import PagedSeq._
126127
* @define mayNotTerminateInf
127128
* @define willNotTerminateInf
128129
*/
129-
@deprecatedInheritance("The implementation details of paged sequences make inheriting from them unwise.", "2.11.0")
130+
@deprecated("This class will be moved to the scala-parser-combinators module", "2.11.8")
130131
class PagedSeq[T: ClassTag] protected(
131132
more: (Array[T], Int, Int) => Int,
132133
first1: Page[T],

test/files/run/t3647.check

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
warning: there were three deprecation warnings; re-run with -deprecation for details

0 commit comments

Comments
 (0)