Skip to content

Commit 579fd84

Browse files
committed
Update the rest of the code to compile
1 parent 657bfd8 commit 579fd84

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/lpython/semantics/python_ast_to_asr.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,6 @@ class CommonVisitor : public AST::BaseVisitor<Derived> {
285285
"'" + var_name + "' is undeclared");
286286
throw SemanticAbort();
287287
}
288-
if( v->type == ASR::symbolType::Variable ) {
289-
ASR::Variable_t* v_var = ASR::down_cast<ASR::Variable_t>(v);
290-
if( v_var->m_type == nullptr &&
291-
v_var->m_intent == ASR::intentType::AssociateBlock ) {
292-
return (ASR::asr_t*)(v_var->m_symbolic_value);
293-
}
294-
}
295288
return ASR::make_Var_t(al, loc, v);
296289
}
297290

0 commit comments

Comments
 (0)