type of variable not narrowed after continue
statement inside try
/except
block inside a for loop inside a function #18466
Open
Description
def _() -> None:
for value in [1,2]:
try:
foo = 1
except Exception:
foo = None
continue
reveal_type(foo) # `int | None`, should be `int`