Skip to content

Commit

Permalink
Change error message
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Jun 11, 2024
1 parent e5f5122 commit b516218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coconut/compiler/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4575,7 +4575,7 @@ def string_atom_handle(self, original, loc, tokens, allow_silent_concat=False):
return tokens[0]
else:
if not allow_silent_concat:
self.strict_err_or_warn("found Python-style implicit string concatenation (use explicit '+' instead)", original, loc)
self.strict_err_or_warn("found implicit string concatenation (use explicit '+' instead)", original, loc)
if any(s.endswith(")") for s in tokens): # has .format() calls
# parens are necessary for string_atom_handle
return "(" + " + ".join(tokens) + ")"
Expand Down

0 comments on commit b516218

Please sign in to comment.