We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unsafeNonvariant
1 parent 02c3c65 commit 0316368Copy full SHA for 0316368
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