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.
1 parent 363a05c commit bfa8579Copy full SHA for bfa8579
compiler/src/dotty/tools/dotc/core/Variances.scala
@@ -116,8 +116,6 @@ object Variances {
116
def apply(x: Unit, t: Type): Unit = t match
117
case t: TypeParamRef if t.binder eq lam =>
118
lam.typeParams(t.paramNum).storedVariance &= varianceFromInt(variance)
119
- case _: LazyRef =>
120
- x
121
case _ =>
122
foldOver(x, t)
123
}
0 commit comments