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
allow nullability flow typing even in presence of pattern match (#18206)
Nullability flow typing is conservatively disabled for mutable variables
to which a write occurs nested inside a Tree other than some known ones,
such as If and WhileDo. This is to prevent flow-sensitive reasoning for
variables that are captured and written to in a closure. Pattern matches
do not create a closure. This change enables nullability flow typing
even for mutable variables that are written to inside a pattern match.
0 commit comments