diff --git a/src/Sema.zig b/src/Sema.zig index 7f6f47ef3e..a77069f8ec 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -3517,6 +3517,7 @@ fn zirRetPtr(sema: *Sema, block: *Block) CompileError!Air.Inst.Ref { // We are inlining a function call; this should be emitted as an alloc, not a ret_ptr. // TODO when functions gain result location support, the inlining struct in // Block should contain the return pointer, and we would pass that through here. + try sema.queueFullTypeResolution(sema.fn_ret_ty); return block.addTy(.alloc, ptr_type); }