summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/ast/parser/Parsers.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/parser/Parsers.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/parser/Parsers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/Parsers.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
index 17bea7f796..1d101b2e7d 100644
--- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
@@ -397,7 +397,7 @@ self =>
Nil,
ListOfNil,
TypeTree(),
- Block(List(Apply(gen.mkSuperSelect, Nil)), Literal(Constant(())))
+ Block(List(Apply(gen.mkSuperInitCall, Nil)), Literal(Constant(())))
)
// def main
@@ -1302,7 +1302,7 @@ self =>
placeholderParams = placeholderParams ::: savedPlaceholderParams
res
}
-
+
def expr0(location: Int): Tree = (in.token: @scala.annotation.switch) match {
case IF =>