mirror of https://github.com/astral-sh/ruff
todo for this bivariance test
This commit is contained in:
parent
4be6d19e5a
commit
6fb49eccf8
|
|
@ -594,7 +594,8 @@ x6: Covariant[Any] = covariant(1)
|
|||
x7: Contravariant[Any] = contravariant(1)
|
||||
x8: Invariant[Any] = invariant(1)
|
||||
|
||||
reveal_type(x5) # revealed: Bivariant[Any]
|
||||
# TODO: revealed: Bivariant[Any]
|
||||
reveal_type(x5) # revealed: Bivariant[Literal[1]]
|
||||
reveal_type(x6) # revealed: Covariant[Any]
|
||||
reveal_type(x7) # revealed: Contravariant[Any]
|
||||
reveal_type(x8) # revealed: Invariant[Any]
|
||||
|
|
|
|||
Loading…
Reference in New Issue