aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-01-18 18:02:13 +0100
committerMartin Odersky <odersky@gmail.com>2014-01-18 18:02:28 +0100
commit55c84fb40bccf7ab7c42f3544bd5f92e69b20ac4 (patch)
tree8560685b36a6ca3aa76bbf2bfb7d620d4d218280 /tests
parent558c608daad156410dc2a854d53409eea1b979a1 (diff)
downloaddotty-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')
-rw-r--r--tests/pos/test.scala6
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