Skip to content

Commit 60c179d

Browse files
committed
Add another test case
1 parent 3594109 commit 60c179d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/harmonize.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ object Test {
2323

2424
val xs = List(1.0, n, 'c')
2525
val ys: List[Double] = xs
26+
27+
def gen[T](xs: T*): T = ???
28+
def gen(xs: String*): String = ???
29+
30+
val c = gen(1.0, 'A', n)
31+
val d: Double = c
2632
}
2733

2834
}

0 commit comments

Comments
 (0)