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.
2 parents ba12860 + 28729e9 commit 0e3c9e5Copy full SHA for 0e3c9e5
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