File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3333 "test_builtin_oct.py"
3434]
3535
36- CUR_DIR = ROOT_DIR = os .path .abspath (os .path .join (os .path .dirname (__file__ )))
36+ CUR_DIR = os .path .abspath (os .path .join (os .path .dirname (__file__ )))
3737
3838def main ():
3939 if not os .path .exists (os .path .join (CUR_DIR , 'tmp' )):
Original file line number Diff line number Diff line change @@ -854,7 +854,7 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
854854
855855 void visit_FunctionDef (const AST::FunctionDef_t &x) {
856856 SymbolTable *old_scope = current_scope;
857- ASR::symbol_t *t = t = current_scope->scope [x.m_name ];
857+ ASR::symbol_t *t = current_scope->scope [x.m_name ];
858858 if (ASR::is_a<ASR::Subroutine_t>(*t)) {
859859 handle_fn (x, *ASR::down_cast<ASR::Subroutine_t>(t));
860860 } else if (ASR::is_a<ASR::Function_t>(*t)) {
You can’t perform that action at this time.
0 commit comments