Skip to content

Commit

Permalink
Fix a typo in variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Jun 21, 2022
1 parent 483dcf9 commit b44fd92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libasr/codegen/asr_to_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ R"(
std::vector<std::string> v;
for (size_t i=0; i<x.n_values; i++) {
this->visit_expr(*x.m_values[i]);
ASR::ttype_t* valuei_type = ASRUtils::expr_type(x.m_values[i]);
out += get_print_type(valuei_type, ASR::is_a<ASR::ArrayRef_t>(*x.m_values[i]));
ASR::ttype_t* value_type = ASRUtils::expr_type(x.m_values[i]);
out += get_print_type(value_type, ASR::is_a<ASR::ArrayRef_t>(*x.m_values[i]));
if (i+1!=x.n_values) {
out += " ";
}
Expand Down

0 comments on commit b44fd92

Please sign in to comment.