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
{{ message }}
Repository navigation
"Remove unreachable code" fix removes too much #25592
Expected behavior:
"Remove unreachable code" fix should only remove the code after "break".
Actual behavior:
The fix removes the whole loop.
I guess the idea was that the body of an if (false) or while (false) is considered unreachable, and in that case the whole thing can be removed. But, that's not the case here.
Activity