diff options
-rw-r--r-- | src/dotty/tools/dotc/core/TyperState.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/TyperState.scala b/src/dotty/tools/dotc/core/TyperState.scala index 664655d7c..8246ae198 100644 --- a/src/dotty/tools/dotc/core/TyperState.scala +++ b/src/dotty/tools/dotc/core/TyperState.scala @@ -17,7 +17,7 @@ class TyperState(val reporter: Reporter) extends DotClass with Showable { def constraint: Constraint = new Constraint(SimpleMap.Empty) /** The currently uninstantiated TypeVars */ - def undetVars: Set[TypeVar] = Set() + def undetVars: Set[TypeVar] = collection.immutable.ListSet() /** A map that records for instantiated type vars their instance type. * Used only in a temporary way for contexts that may be retracted |