mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 13:51:37 +00:00
[red-knot] Infer Unknown
for the loop var in async for
loops (#13243)
This commit is contained in:
parent
0512428a6f
commit
e965f9cc0e
3 changed files with 83 additions and 9 deletions
|
@ -672,6 +672,7 @@ where
|
|||
ForStmtDefinitionNodeRef {
|
||||
iterable: &node.iter,
|
||||
target: name_node,
|
||||
is_async: node.is_async,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue