mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:45:24 +00:00
[red-knot] Add type inference for loop variables inside comprehension scopes (#13251)
This commit is contained in:
parent
ac720cd705
commit
6f53aaf931
3 changed files with 371 additions and 15 deletions
|
@ -689,6 +689,7 @@ where
|
|||
iterable: &node.iter,
|
||||
target: name_node,
|
||||
first,
|
||||
is_async: node.is_async,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue