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.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index 975c4d6f1..144432245 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -722,7 +722,7 @@ object SymDenotations {
*/
def enter(sym: Symbol)(implicit ctx: Context) = {
require(!(this is Frozen))
- info.decls enter sym
+ info.decls.openForMutations.enter(sym)
if (_definedFingerPrint != null)
includeName(_definedFingerPrint, sym.name)
if (_memberCache != null)
@@ -735,7 +735,7 @@ object SymDenotations {
*/
def delete(sym: Symbol)(implicit ctx: Context) = {
require(!(this is Frozen))
- info.decls unlink sym
+ info.decls.openForMutations.unlink(sym)
if (_definedFingerPrint != null)
computeDefinedFingerPrint
if (_memberCache != null)