summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/transform/UnCurry.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@typesafe.com>2015-10-05 14:17:29 +0200
committerLukas Rytz <lukas.rytz@typesafe.com>2015-10-05 14:17:29 +0200
commit4cbf89fa4408942ca38815e946f1e02ab913c3ad (patch)
treeb1fc98841d6c26171221e66a5d659b39d856bf65 /src/compiler/scala/tools/nsc/transform/UnCurry.scala
parentc3906917675b54e9ac1f248c9fb0fba9fa310f0e (diff)
parente6917ac758e782fa03b6912a3feb8f9f8d0950a9 (diff)
downloadscala-4cbf89fa4408942ca38815e946f1e02ab913c3ad.tar.gz
scala-4cbf89fa4408942ca38815e946f1e02ab913c3ad.tar.bz2
scala-4cbf89fa4408942ca38815e946f1e02ab913c3ad.zip
Merge pull request #4784 from lrytz/merge-2.11-to-2.12-oct-5v2.12.0-M3
Merge 2.11 to 2.12 oct 5
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/UnCurry.scala')
-rw-r--r--src/compiler/scala/tools/nsc/transform/UnCurry.scala7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/UnCurry.scala b/src/compiler/scala/tools/nsc/transform/UnCurry.scala
index 57639a94c7..9d61dbbcae 100644
--- a/src/compiler/scala/tools/nsc/transform/UnCurry.scala
+++ b/src/compiler/scala/tools/nsc/transform/UnCurry.scala
@@ -475,13 +475,6 @@ abstract class UnCurry extends InfoTransform
withNeedLift(needLift = true) { super.transform(tree) }
else
super.transform(tree)
- case UnApply(fn, args) =>
- val fn1 = transform(fn)
- val args1 = fn.symbol.name match {
- case nme.unapplySeq => transformArgs(tree.pos, fn.symbol, args, patmat.alignPatterns(global.typer.context, tree).expectedTypes)
- case _ => args
- }
- treeCopy.UnApply(tree, fn1, args1)
case Apply(fn, args) =>
val needLift = needTryLift || !fn.symbol.isLabel // SI-6749, no need to lift in args to label jumps.