From 187375c03031910f48b8f6ca92dec94669a48a6f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Aug 2025 12:54:51 -0400 Subject: Better error message --- src/typecheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/typecheck.c b/src/typecheck.c index 738fb235..122228da 100644 --- a/src/typecheck.c +++ b/src/typecheck.c @@ -188,7 +188,7 @@ static env_t *load_module(env_t *env, ast_t *module_ast) { if (glob(String(TOMO_PREFIX "/share/tomo_" TOMO_VERSION "/installed/", folder, "/[!._0-9]*.tm"), GLOB_TILDE, NULL, &tm_files) != 0) { - if (!try_install_module(mod)) code_err(module_ast, "Could not find or install library"); + if (!try_install_module(mod)) code_err(module_ast, "Couldn't find or install library: ", folder); } env_t *module_env = fresh_scope(env); -- cgit v1.2.3