Skip to content

Commit bdbbc51

Browse files
committed
Add test case
1 parent 5491e59 commit bdbbc51

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/i1757.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
case class B[T](b: List[Int]) {
2+
var s: B[Int] = ???
3+
def cpy[X](b: List[Int] = b): B[X] = new B[X](b)
4+
s.cpy()
5+
s.copy()
6+
}

0 commit comments

Comments
 (0)