We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b61e74 commit 8bd6e97Copy full SHA for 8bd6e97
crates/codegen/src/symboltable.rs
@@ -1479,8 +1479,9 @@ impl SymbolTableBuilder {
1479
// (yield, await, named) even for non-simple targets.
1480
let was_in_annotation = self.in_annotation;
1481
self.in_annotation = true;
1482
- self.scan_expression(annotation, ExpressionContext::Load)?;
+ let result = self.scan_expression(annotation, ExpressionContext::Load);
1483
self.in_annotation = was_in_annotation;
1484
+ result?;
1485
}
1486
if let Some(value) = value {
1487
self.scan_expression(value, ExpressionContext::Load)?;
0 commit comments