harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 96092cb08b2f3b1867dfd9b38759523f35058c85
parent ee7e6f0fe66e9a8d258daacbbcd300de5164c9ae
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 23 Feb 2021 14:10:24 -0500

check: pop scope when leaving propagate

Diffstat:
Msrc/check.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/check.c b/src/check.c @@ -1678,6 +1678,7 @@ check_expr_propagate(struct context *ctx, expr->match.cases = case_ok; case_ok->next = case_err; + scope_pop(&ctx->scope, TR_CHECK); expr->result = result_type; }