Compute variance of type parameter tparam
in all type arguments
tps
which correspond to formal type parameters tparams1
.
Compute variance of type parameter tparam
in type annotation annot
.
Compute variance of type parameter tparam
in all type annotations annots
.
Compute variance of type parameter tparam
in type of symbol sym
.
Compute variance of type parameter tparam
in types of all symbols sym
.
Compute variance of type parameter tparam
in type tp
.
Compute variance of type parameter tparam
in all types tps
.
(variances: StringAdd).self
(variances: StringFormat).self
(variances: ArrowAssoc[Variances]).x
(Since version 2.10.0) Use leftOfArrow
instead
(variances: Ensuring[Variances]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Variances form a lattice, 0 <= COVARIANT <= Variances, 0 <= CONTRAVARIANT <= VARIANCES