Skip to content

Commit

Permalink
typo edits
Browse files Browse the repository at this point in the history
  • Loading branch information
assem2002 authored and Shaikh-Ubaid committed May 4, 2024
1 parent a474734 commit 2549f0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integration_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ RUN(NAME test_statistics_01 LABELS cpython llvm llvm_jit NOFAST)
RUN(NAME test_statistics_02 LABELS cpython llvm llvm_jit NOFAST REQ_PY_VER 3.10)
RUN(NAME test_str_attributes LABELS cpython llvm llvm_jit c)
RUN(NAME kwargs_01 LABELS cpython llvm llvm_jit c NOFAST)
RUN(NAME def_func_01 LABELS cpython llvm c)
RUN(NAME def_func_01 LABELS cpython llvm llvm_jit c)

RUN(NAME func_inline_01 LABELS llvm llvm_jit c wasm)
RUN(NAME func_inline_02 LABELS cpython llvm llvm_jit c)
Expand Down
5 changes: 2 additions & 3 deletions src/lpython/semantics/python_ast_to_asr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,7 @@ class CommonVisitor : public AST::BaseVisitor<Struct> {
if (var->m_symbolic_value == nullptr){
missed_args_names+="'" + (std::string) var->m_name + "' and ";
missed_args_count++;
}
else{
} else {
call_args_vec.p[i].m_value = var->m_symbolic_value;
}
}
Expand Down Expand Up @@ -1176,7 +1175,7 @@ class CommonVisitor : public AST::BaseVisitor<Struct> {
if(var->m_symbolic_value == nullptr) {
missed_args_names+= "'" + std::string(var->m_name) + "' and ";
missed_args_count++;
} else{
} else {
ASR::call_arg_t call_arg;
call_arg.m_value = var->m_symbolic_value;
call_arg.loc = (var->m_symbolic_value->base).loc;
Expand Down

0 comments on commit 2549f0b

Please sign in to comment.