aboutsummaryrefslogtreecommitdiff
path: root/typecheck.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-27 12:46:14 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-27 12:46:14 -0500
commit55d44fe9f235b7916e3184c9a6da8922fd60b056 (patch)
treed43483f976c793a240c839f076c9301b221e0682 /typecheck.c
parent1e6df09900ebb0f3f1d2d3deb57e25ee463b50e4 (diff)
Tweaks
Diffstat (limited to 'typecheck.c')
-rw-r--r--typecheck.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/typecheck.c b/typecheck.c
index a83ba144..3d408857 100644
--- a/typecheck.c
+++ b/typecheck.c
@@ -241,11 +241,6 @@ type_t *get_type(env_t *env, ast_t *ast)
auto var = Match(ast, Var);
binding_t *b = get_binding(env, var->name);
if (b) return b->type;
- // const char *suggestion = spellcheck(env->bindings, name);
- // if (suggestion)
- // code_err(ast, "I don't know what this variable is referring to. Did you mean '%s'?", suggestion);
- // else
- // code_err(ast, "I don't know what this variable is referring to.");
code_err(ast, "I don't know what \"%s\" refers to", var->name);
}
case Array: {