From f6bce464c79de1e7f3e66046628e3ffada7246d9 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 25 Apr 2025 10:37:57 -0400 Subject: Fix 'auto' issue --- src/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/compile.c b/src/compile.c index 15853256..79ae73a6 100644 --- a/src/compile.c +++ b/src/compile.c @@ -1247,7 +1247,7 @@ static CORD _compile_statement(env_t *env, ast_t *ast) const char *failure = NULL; switch (expr->tag) { case And: { - auto and_ = Match(expr, And); + DeclareMatch(and_, ast, And); return CORD_all( compile_statement(env, WrapAST(ast, Assert, .expr=and_->lhs, .message=message)), compile_statement(env, WrapAST(ast, Assert, .expr=and_->rhs, .message=message))); -- cgit v1.2.3