diff options
author | Paul Phillips <paulp@improving.org> | 2012-11-13 08:30:55 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-11-20 14:10:53 -0800 |
commit | 009c57d4622fe69394fe031ad7577a4fdee0b1d9 (patch) | |
tree | 8a3edcf2b3f241069cc2bfc7706eb5cce7f58dcb /src/compiler/scala/tools/nsc/typechecker/Namers.scala | |
parent | e5b050814deb2e7e1d6d05511d3a6cb6b013b549 (diff) | |
download | scala-009c57d4622fe69394fe031ad7577a4fdee0b1d9.tar.gz scala-009c57d4622fe69394fe031ad7577a4fdee0b1d9.tar.bz2 scala-009c57d4622fe69394fe031ad7577a4fdee0b1d9.zip |
Removed code from the typechecker.
Removing code from this neighborhood is more difficult than
elsewhere, making it all the more important that it be done.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Namers.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Namers.scala | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Namers.scala b/src/compiler/scala/tools/nsc/typechecker/Namers.scala index 28bed0f1bf..817b4b7542 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Namers.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Namers.scala @@ -1388,12 +1388,6 @@ trait Namers extends MethodSynthesis { tpe } - def ensureParent(clazz: Symbol, parent: Symbol) = { - val info0 = clazz.info - val info1 = includeParent(info0, parent) - if (info0 ne info1) clazz setInfo info1 - } - class LogTransitions[S](onEnter: S => String, onExit: S => String) { val enabled = settings.debug.value @inline final def apply[T](entity: S)(body: => T): T = { |