Skip to content

Commit

Permalink
Update src/lpython/semantics/python_ast_to_asr.cpp
Browse files Browse the repository at this point in the history
Removed repeated scope assignment

Co-authored-by: Thirumalai Shaktivel <[email protected]>
  • Loading branch information
tanay-man and Thirumalai-Shaktivel authored Aug 18, 2024
1 parent a1fdf8e commit 90496ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lpython/semantics/python_ast_to_asr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5248,7 +5248,6 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
body.push_back(al, x.m_body[i]);
}
}
current_scope = f->m_symtab;
Vec<ASR::stmt_t*> body_asr;
body_asr.reserve(al, x.n_body);
Vec<ASR::stmt_t*> new_body_asr;
Expand Down

0 comments on commit 90496ea

Please sign in to comment.