mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-15 17:15:24 +00:00
fixed scoping issue, commented test with references to original version
This commit is contained in:
parent
162e5d02ab
commit
60a787e3e0
1 changed files with 1 additions and 0 deletions
|
@ -1011,6 +1011,7 @@ impl SymbolTableBuilder {
|
||||||
}
|
}
|
||||||
SymbolUsage::Iter => {
|
SymbolUsage::Iter => {
|
||||||
symbol.is_iter = true;
|
symbol.is_iter = true;
|
||||||
|
symbol.scope = SymbolScope::Local;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue