mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-17 01:55:22 +00:00
Fix load context
This commit is contained in:
parent
f6eb1168bc
commit
2b54fa871f
1 changed files with 1 additions and 1 deletions
|
@ -699,7 +699,7 @@ impl SymbolTableBuilder {
|
||||||
}
|
}
|
||||||
Subscript { a, b } => {
|
Subscript { a, b } => {
|
||||||
self.scan_expression(a, &ExpressionContext::Load)?;
|
self.scan_expression(a, &ExpressionContext::Load)?;
|
||||||
self.scan_expression(b, context)?;
|
self.scan_expression(b, &ExpressionContext::Load)?;
|
||||||
}
|
}
|
||||||
Attribute { value, .. } => {
|
Attribute { value, .. } => {
|
||||||
self.scan_expression(value, &ExpressionContext::Load)?;
|
self.scan_expression(value, &ExpressionContext::Load)?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue