diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-06-16 19:52:55 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-06-16 19:52:55 -0400 |
| commit | 5bfc15c9756d5221913727c864e039a1de937617 (patch) | |
| tree | f15e9be05af0ec30f54c84c3cc3b20afdb7000ab /typecheck.c | |
| parent | ae538ba9ebf5bfdd7ac1fc8b589200dbc20334c0 (diff) | |
Fix issue with binding 'foo := use baz'
Diffstat (limited to 'typecheck.c')
| -rw-r--r-- | typecheck.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/typecheck.c b/typecheck.c index a803907a..fe153ab5 100644 --- a/typecheck.c +++ b/typecheck.c @@ -158,7 +158,6 @@ static env_t *load_module(env_t *env, ast_t *module_ast) *p = '_'; } module_file_env->namespace = new(namespace_t, .name=file_prefix); - module_file_env->imports = new(table_t); env_t *subenv = load_module_env(module_file_env, ast); for (int64_t j = 0; j < subenv->locals->entries.length; j++) { struct { |
