Skip to content

Commit 312ddb5

Browse files
authored
Merge pull request scala#6590 from som-snytt/issue/breakage
Fix crossed wire on lazyAppendedAll change
2 parents 698ec6b + c295534 commit 312ddb5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/library/scala/collection/immutable/LazyList.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -695,8 +695,8 @@ sealed abstract class Stream[+A] extends LinearSeq[A] with LazyListOps[A, Stream
695695
else tail.foldLeft(op(z, head))(op)
696696
}
697697

698-
@deprecated("The `append` operation has been renamed `lazyAppendAll`", "2.13.0")
699-
@inline final def append[B >: A](suffix: IterableOnce[B]): Stream[B] = lazyAppendAll(suffix)
698+
@deprecated("The `append` operation has been renamed `lazyAppendedAll`", "2.13.0")
699+
@inline final def append[B >: A](suffix: IterableOnce[B]): Stream[B] = lazyAppendedAll(suffix)
700700

701701
}
702702

test/junit/scala/collection/immutable/StreamTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ class StreamTest {
215215
}
216216

217217
@Test
218-
def testAppendAliasToLazyAppendAll: Unit = {
218+
def testAppendAliasToLazyAppendedAll: Unit = {
219219
val l = 1 #:: 2 #:: 3 #:: Stream.Empty
220-
assertEquals(l.append(l), l.lazyAppendAll(l))
220+
assertEquals(l.append(l), l.lazyAppendedAll(l))
221221
}
222222
}

0 commit comments

Comments
 (0)