ruff
1a8f29ea - [red-knot] Add symbols defined by `match` statements (#12926)

Commit
1 year ago
[red-knot] Add symbols defined by `match` statements (#12926) ## Summary This PR adds symbols introduced by `match` statements. There are three patterns that introduces new symbols: * `as` pattern * Sequence pattern * Mapping pattern The recursive nature of the visitor makes sure that all symbols are added. ## Test Plan Add test case for all types of patterns that introduces a symbol.
Author
Parents
Loading