We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 156a017 commit f91e0c1Copy full SHA for f91e0c1
src/libasr/codegen/asr_to_llvm.cpp
@@ -7981,12 +7981,10 @@ class ASRToLLVMVisitor : public ASR::BaseVisitor<ASRToLLVMVisitor>
7981
for (size_t i=0; i<x.n_values; i++) {
7982
if (i != 0) {
7983
fmt.push_back("%s");
7984
- if (global_sep_space &&
7985
- !(ASRUtils::is_character(*ASRUtils::expr_type(x.m_values[i]))
7986
- && ASRUtils::is_character(*ASRUtils::expr_type(x.m_values[i - 1])))) {
+ if (global_sep_space) {
7987
args.push_back(sep);
7988
} else {
7989
- sep_no_space = sep_no_space != nullptr ? sep_no_space : builder->CreateGlobalStringPtr(" ");
+ sep_no_space = sep_no_space != nullptr ? sep_no_space : builder->CreateGlobalStringPtr("");
7990
args.push_back(sep_no_space);
7991
}
7992
0 commit comments