From 3686713abe506f5d815fd850e9db012497b1aa5c Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 19 Jan 2016 16:36:50 +0100 Subject: Don't force symbol denotation when taking fingerprint. --- src/dotty/tools/dotc/config/Config.scala | 2 +- src/dotty/tools/dotc/core/SymDenotations.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dotty') diff --git a/src/dotty/tools/dotc/config/Config.scala b/src/dotty/tools/dotc/config/Config.scala index cf43d277e..212defbbf 100644 --- a/src/dotty/tools/dotc/config/Config.scala +++ b/src/dotty/tools/dotc/config/Config.scala @@ -4,7 +4,7 @@ object Config { final val cacheMembersNamed = true final val cacheAsSeenFrom = true - final val useFingerPrints = true + final val useFingerPrints = true // note: it currently seems to be slightly faster not to use them! my junit test: 548s without, 560s with. final val cacheMemberNames = true final val cacheImplicitScopes = true diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index d1abfbfb6..ac4c870a6 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1384,7 +1384,7 @@ object SymDenotations { var fp = FingerPrint() var e = info.decls.lastEntry while (e != null) { - fp.include(e.sym.name) + fp.include(e.name) e = e.prev } var ps = classParents -- cgit v1.2.3