In the following example, the last revealed type could/should be `Union[builtins.int, None]`: ```python def f() -> bool: return True u: int | tuple[int] x = None if f(): x = u if isinstance(x, tuple): x = x[0] reveal_type(x) # note: "builtins.int" reveal_type(x) # note: Revealed type is "Union[builtins.int, Tuple[builtins.int], None]" ``` See [this comment](https://github.com/python/mypy/pull/18180#issuecomment-2496238375) for background information.