Skip to content

Commit 0107724

Browse files
committed
Add testcase for #19988
1 parent f998399 commit 0107724

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/pos/i19988.scala

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import collection.IndexedSeqView
2+
object Hello extends App {
3+
def foo(view: IndexedSeqView[Int]): Unit =
4+
val x1 = 1 +: view
5+
val x2 = view :+ 1
6+
}
7+

0 commit comments

Comments
 (0)