aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Contexts.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/Contexts.scala')
-rw-r--r--src/dotty/tools/dotc/core/Contexts.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala
index 99f396e8b..0202a641b 100644
--- a/src/dotty/tools/dotc/core/Contexts.scala
+++ b/src/dotty/tools/dotc/core/Contexts.scala
@@ -399,7 +399,7 @@ object Contexts {
private[core] var classOfId = new Array[TypeRef](InitialSuperIdsSize)
/** A map from a the typeref of a class to its superclass id */
- private[core] val superIdOfClass = new mutable.HashMap[TypeRef, Int]
+ private[core] val superIdOfClass = new mutable.AnyRefMap[TypeRef, Int]
/** The last allocated superclass id */
private[core] var lastSuperId = -1