Skip to content

Commit 91c9013

Browse files
committed
Mive fullNameCache to caches section
1 parent 6c13d54 commit 91c9013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/SymDenotations.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,7 @@ object SymDenotations {
12341234
// ----- caches -------------------------------------------------------
12351235

12361236
private[this] var myTypeParams: List[TypeSymbol] = null
1237+
private[this] var fullNameCache: SimpleMap[QualifiedNameKind, Name] = SimpleMap.Empty
12371238

12381239
private[this] var myMemberCache: LRUCache[Name, PreDenotation] = null
12391240
private[this] var myMemberCachePeriod: Period = Nowhere
@@ -1668,7 +1669,6 @@ object SymDenotations {
16681669
names
16691670
}
16701671

1671-
private[this] var fullNameCache: SimpleMap[QualifiedNameKind, Name] = SimpleMap.Empty
16721672
override final def fullNameSeparated(kind: QualifiedNameKind)(implicit ctx: Context): Name = {
16731673
val cached = fullNameCache(kind)
16741674
if (cached != null) cached

0 commit comments

Comments
 (0)