From 90496eaec0a08e4ce686e317645a4d844f0e8c3b Mon Sep 17 00:00:00 2001 From: tanay-man <93091118+tanay-man@users.noreply.github.com> Date: Sun, 18 Aug 2024 19:55:33 +0530 Subject: [PATCH] Update src/lpython/semantics/python_ast_to_asr.cpp Removed repeated scope assignment Co-authored-by: Thirumalai Shaktivel <74826228+Thirumalai-Shaktivel@users.noreply.github.com> --- src/lpython/semantics/python_ast_to_asr.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lpython/semantics/python_ast_to_asr.cpp b/src/lpython/semantics/python_ast_to_asr.cpp index 70c1aab7e0..72a06699c5 100644 --- a/src/lpython/semantics/python_ast_to_asr.cpp +++ b/src/lpython/semantics/python_ast_to_asr.cpp @@ -5248,7 +5248,6 @@ class BodyVisitor : public CommonVisitor { body.push_back(al, x.m_body[i]); } } - current_scope = f->m_symtab; Vec body_asr; body_asr.reserve(al, x.n_body); Vec new_body_asr;