diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-11-04 10:42:24 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-11-04 10:42:24 +0000 |
| commit | 3731cf4e08eaf5b2c91f3f64e1eab0b20efdd51e (patch) | |
| tree | 71159078e1f81fa2b99ac8145ffeca440efbe015 | |
| parent | 64cf8a5eb97f2d3e075578a6b967b8252de9a8b4 (diff) | |
Fix #5176
| -rw-r--r-- | src/name_canonicalization.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/name_canonicalization.cpp b/src/name_canonicalization.cpp index edadde35e..c2acf83f5 100644 --- a/src/name_canonicalization.cpp +++ b/src/name_canonicalization.cpp @@ -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; |