mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 06:42:02 +00:00
Mark nonlocal variables as used in parent scopes (#822)
This commit is contained in:
parent
a580d1a858
commit
99f7854d8c
5 changed files with 95 additions and 6 deletions
|
@ -83,6 +83,7 @@ pub enum BindingKind {
|
|||
Binding,
|
||||
LoopVar,
|
||||
Global,
|
||||
Nonlocal,
|
||||
Builtin,
|
||||
ClassDefinition,
|
||||
Definition,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue