commit 5681ef6618628de5a00fe5fd240f805097596f03
parent fcc4664872b0c39fdd0ca4dba367c5a63ba50e46
Author: Sebastian <sebastian@sebsite.pw>
Date: Sun, 1 May 2022 23:25:36 -0400
hare::ast: use label type for yield_expr label
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hare/ast/expr.ha b/hare/ast/expr.ha
@@ -404,7 +404,7 @@ export type variadic_expr = (vastart_expr | vaarg_expr | vaend_expr);
//
// yield foo
export type yield_expr = struct {
- label: str,
+ label: label,
value: nullable *expr,
};