summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Namers.scala
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-11-22 15:02:08 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-11-22 15:02:08 +0000
commit7c0ee3acb4f0319040e21c242c10c819db7490ff (patch)
tree8fe5c5abf7fb91dc73a2fc824ef345d189b6d702 /src/compiler/scala/tools/nsc/typechecker/Namers.scala
parentc6f4dac7beec147982c91e8129834b2b50299c82 (diff)
downloadscala-7c0ee3acb4f0319040e21c242c10c819db7490ff.tar.gz
scala-7c0ee3acb4f0319040e21c242c10c819db7490ff.tar.bz2
scala-7c0ee3acb4f0319040e21c242c10c819db7490ff.zip
Some cleanup (mainly in Typers).
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Namers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Namers.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala
index d2a5523093..0d614af3ac 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala
@@ -147,8 +147,7 @@ trait Namers { self: Analyzer =>
newS.name.length==1 && newS.name(0)=='_') //@M: allow repeated use of `_' for higher-order type params
}
- // IDE hook
- protected def setInfo[Sym <: Symbol](sym : Sym)(tpe : LazyType) : Sym = sym.setInfo(tpe)
+ private def setInfo[Sym <: Symbol](sym : Sym)(tpe : LazyType) : Sym = sym.setInfo(tpe)
private def doubleDefError(pos: Position, sym: Symbol) {
context.error(pos,