Skip to content

Commit ff7fced

Browse files
committed
Fix #5338: test previously non-compiling code
1 parent cdb6250 commit ff7fced

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/i5338.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
object Test {
2+
val unit = ()
3+
4+
def f[T <: Tuple, X](xs: T, x: X) =
5+
xs ++ x *: unit
6+
}

0 commit comments

Comments
 (0)