mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
(cherry picked from commit 4d03313cce07e4c3ff4748328cf2e04ba74b8d91) IJ-MR-24242 GitOrigin-RevId: fa6c1b9077ef78b35c8f3453debcf06bcbc96364
13 lines
506 B
Python
13 lines
506 B
Python
def foo(x):
|
|
for i in range(0, x):
|
|
try:
|
|
...
|
|
except* TypeError:
|
|
if x == 1:
|
|
<error descr="'break', 'continue' and 'return' cannot appear in an except* block">return 1</error>
|
|
if x == 2:
|
|
<error descr="'break', 'continue' and 'return' cannot appear in an except* block">continue</error>
|
|
if x == 3:
|
|
<error descr="'break', 'continue' and 'return' cannot appear in an except* block">break</error>
|
|
|