mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-10 04:18:11 +00:00
Fix type cycle bug
This commit is contained in:
@@ -503,6 +503,7 @@ Entity *add_global_entity(Entity *entity) {
|
||||
if (scope_insert_entity(universal_scope, entity)) {
|
||||
compiler_error("double declaration");
|
||||
}
|
||||
entity->state = EntityState_Resolved;
|
||||
return entity;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user