blob: 7c405fa41bd84acd5db3df607ac305bdc4694eeb [file] [log] [blame]
Fix a false positive for ``used-before-assignment`` when a name guarded by ``if TYPE_CHECKING:`` is used as a type annotation in a function body and later re-imported in the same scope.
Closes #7882