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/environment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/environment.c') diff --git a/src/environment.c b/src/environment.c index b551abf1..045cf6d7 100644 --- a/src/environment.c +++ b/src/environment.c @@ -659,7 +659,7 @@ env_t *for_scope(env_t *env, ast_t *ast) { } return scope; } - 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)); } return NULL; } -- cgit v1.2.3