diff options
author | Martin Odersky <odersky@gmail.com> | 2015-11-16 10:11:12 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-11-17 22:04:47 +0100 |
commit | 44ccfe9a2867b9361994e8c529d0820b6e45985a (patch) | |
tree | 7bda6257d7e2fefbf25dc094107d84d433164252 /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | da97bfb6e1284f906d529b62ca4c1c69e15c140e (diff) | |
download | dotty-44ccfe9a2867b9361994e8c529d0820b6e45985a.tar.gz dotty-44ccfe9a2867b9361994e8c529d0820b6e45985a.tar.bz2 dotty-44ccfe9a2867b9361994e8c529d0820b6e45985a.zip |
Fix bug with finger printing in delete.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-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. |