Skip to content

Commit ba8a518

Browse files
committed
doc(type-lambdas): variance is not supported
1 parent 57121cf commit ba8a518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/new-types/type-lambdas-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ TypeBounds ::= [‘>:’ Type] [‘<:’ Type]
1414

1515
### Type Checking
1616

17-
A type lambda such as `[X] =>> F[X]` defines a function from types to types. The parameter(s) may carry bounds and variance annotations.
17+
A type lambda such as `[X] =>> F[X]` defines a function from types to types. The parameter(s) may carry bounds.
1818
If a parameter is bounded, as in `[X >: L <: U] =>> F[X]` it is checked that arguments to the parameters conform to the bounds `L` and `U`.
1919
Only the upper bound `U` can be F-bounded, i.e. `X` can appear in it.
2020

0 commit comments

Comments
 (0)