Files
openide/python/testData/codeInsight/controlflow/continueinpositiveiteration.py
Semyon Proshev 63b4650c38 Create pending edge from continue when loop has at least one iteration (PY-29767)
There is no edge between loop statement and next after loop instruction
when loop has at least one iteration
so `continue` is marked as one more last instruction in the loop
2018-11-09 19:21:07 +03:00

7 lines
107 B
Python

import sys
for s in "abc":
if len(s) == 1:
continue
sys.exit(0)
raise Exception("the end")