From 944cc00d34e9d32aefc4489962ad840dc7e8188f Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Mon, 1 Sep 2025 01:14:39 +0200 Subject: [PATCH] Fix regression on splat. --- src/compiler/sema_expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/sema_expr.c b/src/compiler/sema_expr.c index 86a6e9c7d..9fb051604 100644 --- a/src/compiler/sema_expr.c +++ b/src/compiler/sema_expr.c @@ -1793,7 +1793,7 @@ static SplatResult sema_splat_optional_argument(SemaContext *context, Expr *expr candidate = sema_find_splat_arg(macro, expr->ct_ident_expr.identifier); break; default: - return false; + return SPLAT_NONE; } if (!candidate) return SPLAT_NONE; if (!candidate->var.no_init) return SPLAT_NONE;