mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-06 04:42:15 -04:00
Fix constant aliasing for debug information
This commit is contained in:
1 parent
6667b78c12
commit
04535b2913
3 files changed
+11
-3
No files matched your search
+1
-1
@@ -359,7 +359,7 @@ void override_entity_in_scope(Entity *original_entity, Entity *new_entity) {
|
||||
}
|
||||
if (original_entity->identifier != nullptr &&
|
||||
original_entity->identifier->kind == Ast_Ident) {
|
||||
original_entity->identifier->Ident.entity = new_entity;
|
||||
original_entity->identifier->Ident.entity = nullptr;
|
||||
}
|
||||
original_entity->flags |= EntityFlag_Overridden;
|
||||
|
||||
|
||||
Reference in new issue
Block a user