Narrow down right hand-side of an ==
expression in if
s
#9093
Labels
enhancement request
New feature or request
==
expression in if
s
#9093
Is your feature request related to a problem? Please describe.
if a == 1
narrowsa
toLiteral[1]
, butif 1 == a
does notplayground
Describe the solution you’d like
Narrow down the type of
a
in both casesThe text was updated successfully, but these errors were encountered: