Skip to content

Commit 0629c66

Browse files
committed
Fix bug with finger printing in delete.
1 parent 87399f3 commit 0629c66

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,10 +1487,8 @@ object SymDenotations {
14871487
def delete(sym: Symbol)(implicit ctx: Context) = {
14881488
require(!(this is Frozen))
14891489
info.decls.openForMutations.unlink(sym)
1490-
if (myMemberFingerPrint != FingerPrint.unknown)
1491-
computeMemberFingerPrint
1492-
if (myMemberCache != null)
1493-
myMemberCache invalidate sym.name
1490+
myMemberFingerPrint = FingerPrint.unknown
1491+
if (myMemberCache != null) myMemberCache invalidate sym.name
14941492
}
14951493

14961494
/** All members of this class that have the given name.

0 commit comments

Comments
 (0)