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/reflect/scala/reflect/internal/Symbols.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/reflect/scala/reflect/internal/Symbols.scala')
-rw-r--r-- | src/reflect/scala/reflect/internal/Symbols.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reflect/scala/reflect/internal/Symbols.scala b/src/reflect/scala/reflect/internal/Symbols.scala index dced794771..759c77f717 100644 --- a/src/reflect/scala/reflect/internal/Symbols.scala +++ b/src/reflect/scala/reflect/internal/Symbols.scala @@ -1615,7 +1615,7 @@ trait Symbols extends api.Symbols { self: SymbolTable => */ def unsafeTypeParams: List[Symbol] = if (isMonomorphicType) Nil - else atPhase(unsafeTypeParamPhase)(rawInfo.typeParams) + else enteringPhase(unsafeTypeParamPhase)(rawInfo.typeParams) /** The type parameters of this symbol. * assumption: if a type starts out as monomorphic, it will not acquire @@ -1627,9 +1627,9 @@ trait Symbols extends api.Symbols { self: SymbolTable => // analogously to the "info" getter, here we allow for two completions: // one: sourceCompleter to LazyType, two: LazyType to completed type if (validTo == NoPeriod) - atPhase(phaseOf(infos.validFrom))(rawInfo load this) + enteringPhase(phaseOf(infos.validFrom))(rawInfo load this) if (validTo == NoPeriod) - atPhase(phaseOf(infos.validFrom))(rawInfo load this) + enteringPhase(phaseOf(infos.validFrom))(rawInfo load this) rawInfo.typeParams } |