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 33
33
"test_builtin_oct.py"
34
34
]
35
35
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__ )))
37
37
38
38
def main ():
39
39
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> {
854
854
855
855
void visit_FunctionDef (const AST::FunctionDef_t &x) {
856
856
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 ];
858
858
if (ASR::is_a<ASR::Subroutine_t>(*t)) {
859
859
handle_fn (x, *ASR::down_cast<ASR::Subroutine_t>(t));
860
860
} else if (ASR::is_a<ASR::Function_t>(*t)) {
You can’t perform that action at this time.
0 commit comments