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.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index a3f83da47..d2b2a6fe4 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -839,7 +839,7 @@ object SymDenotations {
require(!(this is Frozen))
val mscope = scope match {
case scope: MutableScope => scope
- case _ => info.decls.asInstanceOf[MutableScope]
+ case _ => decls.asInstanceOf[MutableScope]
}
mscope.enter(sym)