mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:38:25 +00:00
Respect parent-scoping rules for NamedExpr
assignments (#4145)
This commit is contained in:
parent
8d64747d34
commit
64b7280eb8
7 changed files with 76 additions and 8 deletions
|
@ -253,6 +253,7 @@ pub enum BindingKind<'a> {
|
|||
Annotation,
|
||||
Argument,
|
||||
Assignment,
|
||||
NamedExprAssignment,
|
||||
Binding,
|
||||
LoopVar,
|
||||
Global,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue