From 1c9d47c29f745b6ee1ae18d780ca05f5a330c388 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Mar 2024 19:04:57 -0400 Subject: Print ASTs as XML instead of janky custom syntax --- typecheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'typecheck.c') diff --git a/typecheck.c b/typecheck.c index 5a05d122..70bfd70b 100644 --- a/typecheck.c +++ b/typecheck.c @@ -835,7 +835,7 @@ type_t *get_type(env_t *env, ast_t *ast) case InlineCCode: return Type(VoidType); case Unknown: code_err(ast, "I can't figure out the type of: %W", ast); } - code_err(ast, "I can't figure out the type of: %s", ast_to_str(ast)); + code_err(ast, "I can't figure out the type of: %W", ast); } bool is_discardable(env_t *env, ast_t *ast) -- cgit v1.2.3