Skip to content

Commit b516218

Browse files
committed
Change error message
1 parent e5f5122 commit b516218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coconut/compiler/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4575,7 +4575,7 @@ def string_atom_handle(self, original, loc, tokens, allow_silent_concat=False):
45754575
return tokens[0]
45764576
else:
45774577
if not allow_silent_concat:
4578-
self.strict_err_or_warn("found Python-style implicit string concatenation (use explicit '+' instead)", original, loc)
4578+
self.strict_err_or_warn("found implicit string concatenation (use explicit '+' instead)", original, loc)
45794579
if any(s.endswith(")") for s in tokens): # has .format() calls
45804580
# parens are necessary for string_atom_handle
45814581
return "(" + " + ".join(tokens) + ")"

0 commit comments

Comments
 (0)