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
I'm preparing a pull request to show warnings for unreachable code, but it doesn't work in at least these two cases I tried:
defafter_infinite_loop_with_variable() ->void:
flag=Truewhileflag:
puts("hi")
puts("yooooo wat") # Warning: this code will never rundefafter_infinite_loop_with_variable_set_after_loop() ->void:
flag=Truewhileflag:
puts("hi")
flag=False# Warning: this code will never run
The text was updated successfully, but these errors were encountered:
I'm preparing a pull request to show warnings for unreachable code, but it doesn't work in at least these two cases I tried:
The text was updated successfully, but these errors were encountered: