mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-03 11:42:28 +00:00
Fix #5176
This commit is contained in:
@@ -417,7 +417,7 @@ gb_internal gbString string_canonical_entity_name(gbAllocator allocator, Entity
|
||||
|
||||
gb_internal void write_canonical_parent_prefix(TypeWriter *w, Entity *e) {
|
||||
GB_ASSERT(e != nullptr);
|
||||
if (e->kind == Entity_Procedure || e->kind == Entity_TypeName) {
|
||||
if (e->kind == Entity_Procedure || e->kind == Entity_TypeName || e->kind == Entity_Variable) {
|
||||
if (e->kind == Entity_Procedure && (e->Procedure.is_export || e->Procedure.is_foreign)) {
|
||||
// no prefix
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user