Skip to content

Commit 8dcdcbe

Browse files
committed
ASR: Skip visit_Call() in SymbolTableVisitor
1 parent d0cd19b commit 8dcdcbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lpython/semantics/python_ast_to_asr.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4103,6 +4103,10 @@ class SymbolTableVisitor : public CommonVisitor<SymbolTableVisitor> {
41034103
void visit_If(const AST::If_t &/*x*/) {
41044104
// We skip this in the SymbolTable visitor, but visit it in the BodyVisitor
41054105
}
4106+
4107+
void visit_Call(const AST::Call_t &/*x*/) {
4108+
// We skip this in the SymbolTable visitor, but visit it in the BodyVisitor
4109+
}
41064110
};
41074111

41084112
Result<ASR::asr_t*> symbol_table_visitor(Allocator &al, LocationManager &lm, const AST::Module_t &ast,

0 commit comments

Comments
 (0)