Skip to content

Commit cd40f9a

Browse files
committed
Fix #5218: Add regression test
1 parent 9333e77 commit cd40f9a

File tree

1 file changed

+7
-0
lines changed
  • compiler/test-resources/repl

1 file changed

+7
-0
lines changed

compiler/test-resources/repl/i5218

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
scala> val tuple = (1, "2", 3L)
2+
val tuple: (Int, String, Long) = (1,2,3)
3+
scala> 0.0 *: tuple
4+
val res0: Double *: (Int, String, Long)(tuple) = (0.0,1,2,3)
5+
scala> tuple ++ tuple
6+
val res1: Int *: String *: Long *:
7+
scala.Tuple.Concat[Unit, (Int, String, Long)(tuple)] = (1,2,3,1,2,3)

0 commit comments

Comments
 (0)