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
No violation. It would be awkward to rewrite the code without negations, as it would require either calculating the conditions multiple times or pre-calculating the conditions into variables beforehand.
The text was updated successfully, but these errors were encountered:
What's wrong
Code like this seems to trigger a violation:
How it should be
No violation. It would be awkward to rewrite the code without negations, as it would require either calculating the conditions multiple times or pre-calculating the conditions into variables beforehand.
The text was updated successfully, but these errors were encountered: