From f5612e38183dc20d18f207f8ab055574a4d93ad0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 21 Sep 2025 15:14:37 -0400 Subject: Bugfixes for anonymous enums, code cleanup to remove type_to_string(), and changed it so anonymous enums show up in doctests with their full type instead of `enum$20` --- src/compile/loops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compile/loops.c') diff --git a/src/compile/loops.c b/src/compile/loops.c index 332024f4..b68c908f 100644 --- a/src/compile/loops.c +++ b/src/compile/loops.c @@ -355,7 +355,7 @@ Text_t compile_for_loop(env_t *env, ast_t *ast) { return code; } - default: code_err(for_->iter, "Iteration is not implemented for type: ", type_to_str(iter_t)); + default: code_err(for_->iter, "Iteration is not implemented for type: ", type_to_text(iter_t)); } } -- cgit v1.2.3