We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unsafeNonvariant
1 parent 46a462b commit dbd2e2cCopy full SHA for dbd2e2c
compiler/src/dotty/tools/dotc/core/Contexts.scala
@@ -631,12 +631,6 @@ object Contexts {
631
* of underlying during a controlled operation exists. */
632
private[core] val pendingUnderlying = new mutable.HashSet[Type]
633
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
-
640
/** A map from ErrorType to associated message computation. We use this map
641
* instead of storing message computations directly in ErrorTypes in order
642
* to avoid space leaks - the message computation usually captures a context.
0 commit comments