### Describe the Bug Minmal repro: ```python def test() -> None: x = y y = 1 reveal_type(x) ``` Expected: Error on first assignment. Revealed `Any` Actual: No error on first assignment. Revealed `Literal[1]` ### Sandbox Link https://pyrefly.org/sandbox/?code=CYUwZgBALiDOUAoCUEC0A+CA5A9gOxAC4AoCMiADwgF4IBPU8umiARkbIGIIAnEANxABDADYB9KHQAOIBBSRA ### (Only applicable for extension issues) IDE Information _No response_