diff options
author | Martin Odersky <odersky@gmail.com> | 2014-01-18 18:02:13 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-01-18 18:02:28 +0100 |
commit | 55c84fb40bccf7ab7c42f3544bd5f92e69b20ac4 (patch) | |
tree | 8560685b36a6ca3aa76bbf2bfb7d620d4d218280 /tests/pos/test.scala | |
parent | 558c608daad156410dc2a854d53409eea1b979a1 (diff) | |
download | dotty-55c84fb40bccf7ab7c42f3544bd5f92e69b20ac4.tar.gz dotty-55c84fb40bccf7ab7c42f3544bd5f92e69b20ac4.tar.bz2 dotty-55c84fb40bccf7ab7c42f3544bd5f92e69b20ac4.zip |
Fix isWildcardStarArg test so that it works also for typed trees.
Diffstat (limited to 'tests/pos/test.scala')
-rw-r--r-- | tests/pos/test.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/test.scala b/tests/pos/test.scala index 12af38e02..403ea9704 100644 --- a/tests/pos/test.scala +++ b/tests/pos/test.scala @@ -2,5 +2,11 @@ object test { val x = 2 val y: Int = math.abs(x) + + val xs = List((1, "a"), (2, "b")) + + def write(x: String) = ??? + def write(xs: (Int, String)*) = ??? + write(xs: _*) }
\ No newline at end of file |