summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/ast/Trees.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-08-31 16:18:42 -0700
committerPaul Phillips <paulp@improving.org>2012-08-31 16:57:22 -0700
commit1d70cacca1864ae536e2e1d31d117d43dbc92c24 (patch)
treec12372ce5f667d1551ad42fc3094286034035f2d /src/compiler/scala/tools/nsc/ast/Trees.scala
parent7e4d8a42ff87224a1063449f93f2975bda0d7c01 (diff)
downloadscala-1d70cacca1864ae536e2e1d31d117d43dbc92c24.tar.gz
scala-1d70cacca1864ae536e2e1d31d117d43dbc92c24.tar.bz2
scala-1d70cacca1864ae536e2e1d31d117d43dbc92c24.zip
Hardening specialization and others.
Cleaned up some logic which has become unreasonably circuitous over time. Gave "mkSuperSelect" an accurate name (it's now "mkSuperInitCall".) Put in better logging for spotting OverloadedTypes which should not be.
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/Trees.scala')
-rw-r--r--src/compiler/scala/tools/nsc/ast/Trees.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/Trees.scala b/src/compiler/scala/tools/nsc/ast/Trees.scala
index 085ce82025..30fc1778b1 100644
--- a/src/compiler/scala/tools/nsc/ast/Trees.scala
+++ b/src/compiler/scala/tools/nsc/ast/Trees.scala
@@ -116,7 +116,7 @@ trait Trees extends reflect.internal.Trees { self: Global =>
// convert (implicit ... ) to ()(implicit ... ) if its the only parameter section
if (vparamss1.isEmpty || !vparamss1.head.isEmpty && vparamss1.head.head.mods.isImplicit)
vparamss1 = List() :: vparamss1;
- val superRef: Tree = atPos(superPos)(gen.mkSuperSelect)
+ val superRef: Tree = atPos(superPos)(gen.mkSuperInitCall)
val superCall = (superRef /: argss) (Apply.apply)
List(
atPos(wrappingPos(superPos, lvdefs ::: argss.flatten)) (