diff options
author | Martin Odersky <odersky@gmail.com> | 2010-12-14 12:38:01 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-12-14 12:38:01 +0000 |
commit | 45b0c875e74052c79fa8711c5e0f8e5ca4b322ec (patch) | |
tree | aad044b86c3ccfd6577a44bf9e3ea9c8e00f93ca /src | |
parent | bda52e41b2a233f8518add205e990afe0111119b (diff) | |
download | scala-45b0c875e74052c79fa8711c5e0f8e5ca4b322ec.tar.gz scala-45b0c875e74052c79fa8711c5e0f8e5ca4b322ec.tar.bz2 scala-45b0c875e74052c79fa8711c5e0f8e5ca4b322ec.zip |
Closes #4024. No review.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/UnCurry.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/UnCurry.scala b/src/compiler/scala/tools/nsc/transform/UnCurry.scala index a9f6d39cc1..aa3086c05b 100644 --- a/src/compiler/scala/tools/nsc/transform/UnCurry.scala +++ b/src/compiler/scala/tools/nsc/transform/UnCurry.scala @@ -419,7 +419,8 @@ abstract class UnCurry extends InfoTransform with TypingTransformers with ast.Tr } atPhase(phase.next) { localTyper.typedPos(pos) { - Apply(gen.mkAttributedSelect(tree, toArraySym), List(getManifest(tree.tpe.typeArgs.head))) + Apply(gen.mkAttributedSelect(tree, toArraySym), + List(getManifest(tree.tpe.baseType(TraversableClass).typeArgs.head))) } } } |