mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 09:22:22 -07: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