aboutsummaryrefslogtreecommitdiff
path: root/src/dotty
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2015-11-17 23:21:08 +0100
committerodersky <odersky@gmail.com>2015-11-17 23:21:08 +0100
commit945334c8affd0dc5067316447e8384f1ea7025ad (patch)
tree068828af6282a282a2c3e866093b56aa7f48fded /src/dotty
parentda97bfb6e1284f906d529b62ca4c1c69e15c140e (diff)
parent5ccf5599dd02b377f8c29a9452edd4abf2f28f86 (diff)
downloaddotty-945334c8affd0dc5067316447e8384f1ea7025ad.tar.gz
dotty-945334c8affd0dc5067316447e8384f1ea7025ad.tar.bz2
dotty-945334c8affd0dc5067316447e8384f1ea7025ad.zip
Merge pull request #955 from dotty-staging/fix-#937
Fix #937
Diffstat (limited to 'src/dotty')
-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.