mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Fix load context
This commit is contained in:
1 parent
edc727f44f
commit
36e7e9cded
1 file changed
+1
-1
@@ -699,7 +699,7 @@ impl SymbolTableBuilder {
|
||||
}
|
||||
Subscript { a, b } => {
|
||||
self.scan_expression(a, &ExpressionContext::Load)?;
|
||||
self.scan_expression(b, context)?;
|
||||
self.scan_expression(b, &ExpressionContext::Load)?;
|
||||
}
|
||||
Attribute { value, .. } => {
|
||||
self.scan_expression(value, &ExpressionContext::Load)?;
|
||||
|
||||
Reference in new issue
Block a user