mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-14 23:33:15 +00:00
Fix LLVM-API type cycle for procedures of named procedures
This commit is contained in:
@@ -1370,7 +1370,8 @@ LLVMTypeRef lb_type_internal(lbModule *m, Type *type) {
|
||||
// Sanity check
|
||||
continue;
|
||||
}
|
||||
array_add(¶m_types, lb_type(m, v->type));
|
||||
LLVMTypeRef t = lb_type(m, v->type);
|
||||
array_add(¶m_types, t);
|
||||
}
|
||||
} else {
|
||||
array_add(¶m_types, lb_type(m, param));
|
||||
|
||||
Reference in New Issue
Block a user