diff options
author | odersky <odersky@gmail.com> | 2015-11-17 23:21:08 +0100 |
---|---|---|
committer | odersky <odersky@gmail.com> | 2015-11-17 23:21:08 +0100 |
commit | 945334c8affd0dc5067316447e8384f1ea7025ad (patch) | |
tree | 068828af6282a282a2c3e866093b56aa7f48fded /src | |
parent | da97bfb6e1284f906d529b62ca4c1c69e15c140e (diff) | |
parent | 5ccf5599dd02b377f8c29a9452edd4abf2f28f86 (diff) | |
download | dotty-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')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 6 |
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. |