We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a33812b commit c74de93Copy full SHA for c74de93
src/resolver.rs
@@ -816,8 +816,7 @@ impl<'i> TypeAnnotator<'i> {
816
}
817
818
for config_variable in &unit.var_config {
819
- let Some(base) = &config_variable.reference.get_flat_base_reference_name() else { continue };
820
- visitor.visit_statement(&ctx.with_pou(base), &config_variable.reference);
+ visitor.visit_statement(ctx, &config_variable.reference);
821
822
823
// enum initializers may have been introduced by the visitor (indexer)
0 commit comments