Union of T
and Any
doesn't conform to T
(T
is a type variable)
#2054
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Sample code
Expected behavior
No warning.
Actual behavior
Additional info
There would be no warning if the type of
value
were eitherT
orAny
instead of a union.The text was updated successfully, but these errors were encountered: