summaryrefslogtreecommitdiff
path: root/test/files/pos/t4176b.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2012-06-24 18:56:02 +0200
committerJason Zaugg <jzaugg@gmail.com>2012-06-30 09:20:46 +0200
commitd9d5dcd1e21c215826a915db47eaf993621e0441 (patch)
treea6c4bf8aab8ff6d548c1a8763b3640d03282bb0d /test/files/pos/t4176b.scala
parentf43de697595eaebcf2feec03beb95daf606ac678 (diff)
downloadscala-d9d5dcd1e21c215826a915db47eaf993621e0441.tar.gz
scala-d9d5dcd1e21c215826a915db47eaf993621e0441.tar.bz2
scala-d9d5dcd1e21c215826a915db47eaf993621e0441.zip
SI-4176 A repeat dose of repeated parameter type sanitization.
- During eta expansion, treat parameters of type A* as Seq[A] - Do the same for method/class parameters as referred to by an Ident. Also fixes SI-5967, which shows up during pattern matching.
Diffstat (limited to 'test/files/pos/t4176b.scala')
-rw-r--r--test/files/pos/t4176b.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/t4176b.scala b/test/files/pos/t4176b.scala
new file mode 100644
index 0000000000..11914c50c8
--- /dev/null
+++ b/test/files/pos/t4176b.scala
@@ -0,0 +1,5 @@
+object Test {
+ def foo(a: String*) = a
+ val fooEta = foo _
+ (foo: Seq[String] => Seq[String])
+}