summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Namers.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala
index 1b2b737074..fbca075166 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala
@@ -1250,7 +1250,7 @@ trait Namers { self: Analyzer =>
annotate(sym)
if (sym.isModule) annotate(sym.moduleClass)
- def makeNamer = tree match {
+ def getSig = tree match {
case ClassDef(_, _, tparams, impl) =>
newNamer(context.makeNewScope(tree, sym)).classSig(tparams, impl)
@@ -1301,7 +1301,7 @@ trait Namers { self: Analyzer =>
}
val result =
- try makeNamer
+ try getSig
catch typeErrorHandler(tree.pos, ErrorType)
result match {