aboutsummaryrefslogtreecommitdiff
path: root/src/typecheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/typecheck.c')
-rw-r--r--src/typecheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/typecheck.c b/src/typecheck.c
index 680d3049..738fb235 100644
--- a/src/typecheck.c
+++ b/src/typecheck.c
@@ -1763,7 +1763,7 @@ PUREFUNC bool is_constant(env_t *env, ast_t *ast) {
}
case TextJoin: {
DeclareMatch(text, ast, TextJoin);
- if (!text->children) return true; // Empty string, OK
+ if (!text->children) return true; // Empty string, OK
if (text->children->next) return false; // Concatenation, not constant
return is_constant(env, text->children->ast);
}