### Summary Red knot fails to narrow in the following code: ```py def foo(x: str | None): def inner(): if x is not None: # Red knot is not narrowing here reveal_type(x) # revealed: str | None return inner ``` ### Version 00e73dc33