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
Yes I believe there is a bug here. What should happen is that since there is a case null, NullAway should learn that onset cannot be null in the default case.
Environment:
NullAway version: 0.10.23
Java 21 on Mac M1
I've got the following code:
Even though null is validated in the switch, NullAway gives an error for the default case. I assume this is a bug?
The text was updated successfully, but these errors were encountered: