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
Ternary expressions are always typed as the union of the type of the true branch expression and the type of the false branch expression. Two improvements could be made here:
If the condition is known, only the type of the active branch's expression should be used.
If the two branches have types that can be combined, they should be.
The text was updated successfully, but these errors were encountered:
Ternary expressions are always typed as the union of the type of the true branch expression and the type of the false branch expression. Two improvements could be made here:
The text was updated successfully, but these errors were encountered: