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
We currently refuse to do any equality narrowing here because of the presence of int in the union (which may include subclasses of int with custom __eq__). But this is overly conservative; we should be able to eliminate None and Literal["c"] from the union anyway, resulting in the type Literal["a", "b"] | int.