Sema: use unwrapped generic owner in getFuncInstanceIes
This commit is contained in:
committed by
Matthew Lugg
parent
972cab5bb0
commit
89db4f2e93
@@ -9455,7 +9455,7 @@ pub fn getFuncInstanceIes(
|
||||
try items.ensureUnusedCapacity(4);
|
||||
|
||||
const generic_owner = unwrapCoercedFunc(ip, arg.generic_owner);
|
||||
const generic_owner_ty = ip.indexToKey(ip.funcDeclInfo(arg.generic_owner).ty).func_type;
|
||||
const generic_owner_ty = ip.indexToKey(ip.funcDeclInfo(generic_owner).ty).func_type;
|
||||
|
||||
// The strategy here is to add the function decl unconditionally, then to
|
||||
// ask if it already exists, and if so, revert the lengths of the mutated
|
||||
|
||||
Reference in New Issue
Block a user