Skip to content

Commit 0e3c9e5

Browse files
Merge pull request #7547 from dotty-staging/fix-#4852
Fix #4852: Add regression test
2 parents ba12860 + 28729e9 commit 0e3c9e5

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)