diff options
author | Paul Phillips <paulp@improving.org> | 2012-07-19 10:30:23 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-07-19 10:35:14 -0700 |
commit | 2e69ae41d9b4af6dd87e14e5f6f980c51e164e4c (patch) | |
tree | af17192f1ff38e56531e93d9fc2f3c67ae03643c /src/compiler/scala/tools/nsc/transform/InfoTransform.scala | |
parent | 79026e6975b1f27750be968eab239ad456ebd64f (diff) | |
download | scala-2e69ae41d9b4af6dd87e14e5f6f980c51e164e4c.tar.gz scala-2e69ae41d9b4af6dd87e14e5f6f980c51e164e4c.tar.bz2 scala-2e69ae41d9b4af6dd87e14e5f6f980c51e164e4c.zip |
Renaming phase time-travel methods.
enteringPhase and exitingPhase are our unambiguously named
phase time travel methods. atPhase is deprecated. Other methods
and uses have all been brought into line with that.
Review by @lrytz.
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/InfoTransform.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/InfoTransform.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/InfoTransform.scala b/src/compiler/scala/tools/nsc/transform/InfoTransform.scala index 880f0f0157..5080f92e43 100644 --- a/src/compiler/scala/tools/nsc/transform/InfoTransform.scala +++ b/src/compiler/scala/tools/nsc/transform/InfoTransform.scala @@ -10,11 +10,11 @@ package transform * An InfoTransform contains a compiler phase that transforms trees and symbol infos -- making sure they stay consistent. * The symbol info is transformed assuming it is consistent right before this phase. * The info transformation is triggered by Symbol::rawInfo, which caches the results in the symbol's type history. - * This way sym.info (during an atPhase(p)) can look up what the symbol's info should look like at the beginning of phase p. + * This way sym.info (during an enteringPhase(p)) can look up what the symbol's info should look like at the beginning of phase p. * (If the transformed info had not been stored yet, rawInfo will compute the info by composing the info-transformers * of the most recent phase before p, up to the transformer of the phase right before p.) * - * Concretely, atPhase(p) { sym.info } yields the info *before* phase p has transformed it. Imagine you're a phase and it all makes sense. + * Concretely, enteringPhase(p) { sym.info } yields the info *before* phase p has transformed it. Imagine you're a phase and it all makes sense. */ trait InfoTransform extends Transform { import global.{Symbol, Type, InfoTransformer, infoTransformers} |