aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index 64862418a..d7fa183c9 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -1487,10 +1487,8 @@ object SymDenotations {
def delete(sym: Symbol)(implicit ctx: Context) = {
require(!(this is Frozen))
info.decls.openForMutations.unlink(sym)
- if (myMemberFingerPrint != FingerPrint.unknown)
- computeMemberFingerPrint
- if (myMemberCache != null)
- myMemberCache invalidate sym.name
+ myMemberFingerPrint = FingerPrint.unknown
+ if (myMemberCache != null) myMemberCache invalidate sym.name
}
/** All members of this class that have the given name.