We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4448e7a commit b55423cCopy full SHA for b55423c
src/compiler/scala/tools/nsc/typechecker/Variances.scala
@@ -65,7 +65,7 @@ trait Variances {
65
66
/** Compute variance of type parameter <code>tparam</code> in type <code>tp</code>. */
67
def varianceInType(tp: Type)(tparam: Symbol): Int = tp match {
68
- case ErrorType | WildcardType | NoType | NoPrefix | ThisType(_) | ConstantType(_) =>
+ case ErrorType | WildcardType | BoundedWildcardType(_) | NoType | NoPrefix | ThisType(_) | ConstantType(_) =>
69
VARIANCES
70
case SingleType(pre, sym) =>
71
varianceInType(pre)(tparam)
0 commit comments