You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, if a predicate returns any, it will match the first true or false return value, even if it's always returning the opposite value. This results in the incorrect type being inferred with current type overloads.
The text was updated successfully, but these errors were encountered:
From this comment in #5937.
Basically, if a predicate returns
any
, it will match the firsttrue
orfalse
return value, even if it's always returning the opposite value. This results in the incorrect type being inferred with current type overloads.The text was updated successfully, but these errors were encountered: