Skip to content

Commit 28729e9

Browse files
committed
Fix #4852: Add regression test
1 parent 1725a67 commit 28729e9

File tree

1 file changed

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

1 file changed

+6
-0
lines changed

compiler/test-resources/repl/i4852

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
scala> inline def foo[T](t : T*) : Any = t
2+
def foo[T](t: T*): Any
3+
scala> foo(1, "hi", false)
4+
val res0: Any = ArraySeq(1, hi, false)
5+
scala> foo()
6+
val res1: Any = ArraySeq()

0 commit comments

Comments
 (0)