We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1725a67 commit 28729e9Copy full SHA for 28729e9
compiler/test-resources/repl/i4852
@@ -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