aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-02-27 15:16:41 +0100
committerMartin Odersky <odersky@gmail.com>2013-02-27 15:16:41 +0100
commitb1f0eaa41cdf0a6bbc37078f6580b04f85ad5079 (patch)
tree69865625041596e50f14d7eccabe07fd89a4527a /src/dotty/tools/dotc/core/SymDenotations.scala
parent89e3da3cba740bc8eb64c9145c449e376481b377 (diff)
downloaddotty-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.scala8
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)