mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-08 03:24:19 +00:00
Fix: double declaration in SSA
This commit is contained in:
@@ -116,6 +116,10 @@ void ssa_gen_tree(ssaGen *s) {
|
||||
DeclInfo *decl = entry->value;
|
||||
Scope *scope = e->scope;
|
||||
|
||||
if (!scope->is_file) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (entry_point != NULL) {
|
||||
auto found = map_get(&min_dep_map, hash_pointer(e));
|
||||
if (found == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user