Skip to content

Commit 3686713

Browse files
committed
Don't force symbol denotation when taking fingerprint.
1 parent a93cdf4 commit 3686713

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dotty/tools/dotc/config/Config.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ object Config {
44

55
final val cacheMembersNamed = true
66
final val cacheAsSeenFrom = true
7-
final val useFingerPrints = true
7+
final val useFingerPrints = true // note: it currently seems to be slightly faster not to use them! my junit test: 548s without, 560s with.
88
final val cacheMemberNames = true
99
final val cacheImplicitScopes = true
1010

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ object SymDenotations {
13841384
var fp = FingerPrint()
13851385
var e = info.decls.lastEntry
13861386
while (e != null) {
1387-
fp.include(e.sym.name)
1387+
fp.include(e.name)
13881388
e = e.prev
13891389
}
13901390
var ps = classParents

0 commit comments

Comments
 (0)