Skip to content

Commit dbd2e2c

Browse files
committed
Drop unused field unsafeNonvariant
1 parent 46a462b commit dbd2e2c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

compiler/src/dotty/tools/dotc/core/Contexts.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -631,12 +631,6 @@ object Contexts {
631631
* of underlying during a controlled operation exists. */
632632
private[core] val pendingUnderlying = new mutable.HashSet[Type]
633633

634-
/** A flag that some unsafe nonvariant instantiation was encountered
635-
* in this run. Used as a shortcut to a avoid scans of types in
636-
* Typer.typedSelect.
637-
*/
638-
private[dotty] var unsafeNonvariant: RunId = NoRunId
639-
640634
/** A map from ErrorType to associated message computation. We use this map
641635
* instead of storing message computations directly in ErrorTypes in order
642636
* to avoid space leaks - the message computation usually captures a context.

0 commit comments

Comments
 (0)