Skip to content

Commit 2549f0b

Browse files
assem2002ubaidsk
authored andcommitted
typo edits
1 parent a474734 commit 2549f0b

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

integration_tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ RUN(NAME test_statistics_01 LABELS cpython llvm llvm_jit NOFAST)
790790
RUN(NAME test_statistics_02 LABELS cpython llvm llvm_jit NOFAST REQ_PY_VER 3.10)
791791
RUN(NAME test_str_attributes LABELS cpython llvm llvm_jit c)
792792
RUN(NAME kwargs_01 LABELS cpython llvm llvm_jit c NOFAST)
793-
RUN(NAME def_func_01 LABELS cpython llvm c)
793+
RUN(NAME def_func_01 LABELS cpython llvm llvm_jit c)
794794

795795
RUN(NAME func_inline_01 LABELS llvm llvm_jit c wasm)
796796
RUN(NAME func_inline_02 LABELS cpython llvm llvm_jit c)

src/lpython/semantics/python_ast_to_asr.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -713,8 +713,7 @@ class CommonVisitor : public AST::BaseVisitor<Struct> {
713713
if (var->m_symbolic_value == nullptr){
714714
missed_args_names+="'" + (std::string) var->m_name + "' and ";
715715
missed_args_count++;
716-
}
717-
else{
716+
} else {
718717
call_args_vec.p[i].m_value = var->m_symbolic_value;
719718
}
720719
}
@@ -1176,7 +1175,7 @@ class CommonVisitor : public AST::BaseVisitor<Struct> {
11761175
if(var->m_symbolic_value == nullptr) {
11771176
missed_args_names+= "'" + std::string(var->m_name) + "' and ";
11781177
missed_args_count++;
1179-
} else{
1178+
} else {
11801179
ASR::call_arg_t call_arg;
11811180
call_arg.m_value = var->m_symbolic_value;
11821181
call_arg.loc = (var->m_symbolic_value->base).loc;

0 commit comments

Comments
 (0)