diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-11-22 15:02:08 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-11-22 15:02:08 +0000 |
commit | 7c0ee3acb4f0319040e21c242c10c819db7490ff (patch) | |
tree | 8fe5c5abf7fb91dc73a2fc824ef345d189b6d702 /src/compiler/scala/tools/nsc/typechecker/Namers.scala | |
parent | c6f4dac7beec147982c91e8129834b2b50299c82 (diff) | |
download | scala-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.scala | 3 |
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, |