mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 12:30:28 +00:00
Fix #3286
This commit is contained in:
@@ -1515,9 +1515,11 @@ gb_internal String lb_set_nested_type_name_ir_mangled_name(Entity *e, lbProcedur
|
||||
GB_ASSERT(scope->flags & ScopeFlag_Proc);
|
||||
proc = scope->procedure_entity;
|
||||
}
|
||||
GB_ASSERT(proc->kind == Entity_Procedure);
|
||||
if (proc->code_gen_procedure != nullptr) {
|
||||
p = proc->code_gen_procedure;
|
||||
if (proc != nullptr) {
|
||||
GB_ASSERT(proc->kind == Entity_Procedure);
|
||||
if (proc->code_gen_procedure != nullptr) {
|
||||
p = proc->code_gen_procedure;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user