diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-03 15:01:23 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-03 15:01:23 -0400 |
| commit | cedae3039c8d67568b5ac35833c10cbfc1c7cb23 (patch) | |
| tree | 1b1ff363a3c2be77d26acfb1a55dd267ec073f3e /src/typecheck.c | |
| parent | 59993b85301071540a90a0e97df27e83000f77f7 (diff) | |
Fix textual representation of table types
Diffstat (limited to 'src/typecheck.c')
| -rw-r--r-- | src/typecheck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/typecheck.c b/src/typecheck.c index 648ffbc8..d2a976b8 100644 --- a/src/typecheck.c +++ b/src/typecheck.c @@ -1432,13 +1432,13 @@ type_t *get_type(env_t *env, ast_t *ast) type_ast_t *type_ast = inline_code->type_ast; return type_ast ? parse_type_ast(env, type_ast) : Type(VoidType); } - case Unknown: code_err(ast, "I can't figure out the type of: ", ast_to_str(ast)); + case Unknown: code_err(ast, "I can't figure out the type of: ", ast_to_xml_str(ast)); case Deserialize: return parse_type_ast(env, Match(ast, Deserialize)->type); } #ifdef __GNUC__ #pragma GCC diagnostic pop #endif - code_err(ast, "I can't figure out the type of: ", ast_to_str(ast)); + code_err(ast, "I can't figure out the type of: ", ast_to_xml_str(ast)); } PUREFUNC bool is_discardable(env_t *env, ast_t *ast) |
