From 3445947c072a4cd533f5f3a53178f77361859123 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Wed, 29 Jul 2026 23:58:55 -0400 Subject: improve type system --- ast.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ast.h') diff --git a/ast.h b/ast.h index a6d0388..e77c779 100644 --- a/ast.h +++ b/ast.h @@ -11,7 +11,7 @@ struct expr_list_node { struct expr_node* expr; struct expr_list_node* next; - struct type* resolved_type; + const struct type* resolved_type; }; struct int_lit_node { @@ -104,7 +104,7 @@ struct expr_node { struct paren_node paren; } inner; - struct type* resolved_type; + const struct type* resolved_type; }; struct group_node { -- cgit v1.2.3