diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-17 21:49:52 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-17 21:49:52 -0400 |
| commit | 212dfa44ae3b99b6953b2096fa27406ca4bba303 (patch) | |
| tree | 9dc64e3e891db4bb48871c23350ee06c706c87d1 /typecheck.c | |
| parent | 47f627f5dd2ac695c4c3f1fd879606ba7d1052a0 (diff) | |
Fix error message
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 74c53fbf..6c26dc43 100644 --- a/typecheck.c +++ b/typecheck.c @@ -783,7 +783,7 @@ type_t *get_type(env_t *env, ast_t *ast) unhandled = unhandled ? CORD_all(unhandled, ", ", m->name) : m->name; } if (unhandled) - code_err(ast, "This 'while' statement doesn't handle the tag(s): %s", CORD_to_const_char_star(unhandled)); + code_err(ast, "This 'when' statement doesn't handle the tag(s): %s", CORD_to_const_char_star(unhandled)); // return overall_t; return Type(VoidType); } |
