Skip to content

Commit 8e46406

Browse files
test: add in a regression test for #13216 (#17503)
[skip community_build] closes #13216
2 parents b0ccf40 + 90549a7 commit 8e46406

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/run/i13216.scala

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// https://github.com/lampepfl/dotty/issues/13216
2+
import scala.annotation.targetName
3+
4+
class C(s: String) extends AnyVal {
5+
def m(xs: Seq[Int]): Unit = {}
6+
@targetName("m_seq2")
7+
def m(xs: Seq[Seq[Int]]): Unit = {}
8+
}
9+
10+
@main def Test =
11+
new C("").m(Seq(123))

0 commit comments

Comments
 (0)