diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-24 19:04:57 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-24 19:04:57 -0400 |
| commit | 1c9d47c29f745b6ee1ae18d780ca05f5a330c388 (patch) | |
| tree | e67fda31f55e47ce064ffb128491557e70b97398 /typecheck.c | |
| parent | d07d2f2530aa1f25dc2cd34796f2a29d9b467b0d (diff) | |
Print ASTs as XML instead of janky custom syntax
Diffstat (limited to 'typecheck.c')
| -rw-r--r-- | typecheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
