diff options
author | Martin Odersky <odersky@gmail.com> | 2013-02-27 15:16:41 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-02-27 15:16:41 +0100 |
commit | b1f0eaa41cdf0a6bbc37078f6580b04f85ad5079 (patch) | |
tree | 69865625041596e50f14d7eccabe07fd89a4527a /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | 89e3da3cba740bc8eb64c9145c449e376481b377 (diff) | |
download | dotty-b1f0eaa41cdf0a6bbc37078f6580b04f85ad5079.tar.gz dotty-b1f0eaa41cdf0a6bbc37078f6580b04f85ad5079.tar.bz2 dotty-b1f0eaa41cdf0a6bbc37078f6580b04f85ad5079.zip |
Renamed DenotationSet -> PreDenotation
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 830ceba1a..5d2ec2dc0 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -696,9 +696,9 @@ object SymDenotations { bits } - private[this] var _memberCache: LRU8Cache[Name, DenotationSet] = null + private[this] var _memberCache: LRU8Cache[Name, PreDenotation] = null - private def memberCache: LRU8Cache[Name, DenotationSet] = { + private def memberCache: LRU8Cache[Name, PreDenotation] = { if (_memberCache == null) _memberCache = new LRU8Cache _memberCache } @@ -734,8 +734,8 @@ object SymDenotations { if (fp != null) fp else computeDefinedFingerPrint } - final def membersNamed(name: Name)(implicit ctx: Context): DenotationSet = { - var denots: DenotationSet = memberCache lookup name + final def membersNamed(name: Name)(implicit ctx: Context): PreDenotation = { + var denots: PreDenotation = memberCache lookup name if (denots == null) { if (containsName(definedFingerPrint, name)) { val ownDenots = info.decls.denotsNamed(name) |