We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c52fd5c commit 8f03127Copy full SHA for 8f03127
integration_tests/run_tests.py
@@ -33,7 +33,7 @@
33
"test_builtin_oct.py"
34
]
35
36
-CUR_DIR = ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__)))
+CUR_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__)))
37
38
def main():
39
if not os.path.exists(os.path.join(CUR_DIR, 'tmp')):
src/lpython/semantics/python_ast_to_asr.cpp
@@ -854,7 +854,7 @@ class BodyVisitor : public CommonVisitor<BodyVisitor> {
854
855
void visit_FunctionDef(const AST::FunctionDef_t &x) {
856
SymbolTable *old_scope = current_scope;
857
- ASR::symbol_t *t = t = current_scope->scope[x.m_name];
+ ASR::symbol_t *t = current_scope->scope[x.m_name];
858
if (ASR::is_a<ASR::Subroutine_t>(*t)) {
859
handle_fn(x, *ASR::down_cast<ASR::Subroutine_t>(t));
860
} else if (ASR::is_a<ASR::Function_t>(*t)) {
0 commit comments