diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-25 10:37:57 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-25 10:37:57 -0400 |
| commit | f6bce464c79de1e7f3e66046628e3ffada7246d9 (patch) | |
| tree | 63099743b7c2fa989517faa3a8cbb4f2c50cdc08 /src/compile.c | |
| parent | 73659ac01be2d2d0acb3da2afe6ada597205f57a (diff) | |
Fix 'auto' issue
Diffstat (limited to 'src/compile.c')
| -rw-r--r-- | src/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
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))); |
