Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/v1/04_infer.dag
Original file line number Diff line number Diff line change
Expand Up @@ -5734,7 +5734,6 @@ fn build_type_env(module: ResolvedModule, parent_index: Map<String, TypedModule>
} else {
ancestry_cache.str_bindings
}
let visible_str_bindings = map_merge(ancestry_str_bindings, local_str_bindings)
let unresolved_env = TypeEnv { bindings: all_local_bindings, str_bindings: local_str_bindings, ancestry_str_bindings: ancestry_str_bindings, parents: scope_parents, recursive_types: cycle_set, recursive_type_set: cross_type_set, inductive_fields: merged_inductive_fields, source_indices: source_indices, intern_table: intern_table }
let resolved = resolve_env_bindings(env: unresolved_env, module_name: module_name_str, local_names: local_name_set, deps_map: all_deps_map)
let resolved_env_out = resolved.env
Expand All @@ -5750,9 +5749,10 @@ fn build_type_env(module: ResolvedModule, parent_index: Map<String, TypedModule>
source_indices: resolved_env_out.source_indices,
intern_table: intern_table,
}
let cache_str_bindings = map_merge(final_env.ancestry_str_bindings, final_env.str_bindings)
let type_env_cache = TypeEnvCache {
deps_map: all_deps_map,
str_bindings: visible_str_bindings,
str_bindings: cache_str_bindings,
cycle_set_str: cycle_set_str,
variant_locals: empty_map()
}
Expand Down
Loading
Loading