| author | |
| committer | |
| log | 2e5d13e9cf55ee66c544950b59f8620e626801a7 |
| tree | b11eef0e3cf638cecbc7acb466093ab597fdce7f |
| parent | 9965d960b594dcdc67b356201eba57db38be24f5 |
1 files changed, 1 insertions(+), 0 deletions(-)
src/Sema.zig+1| ... | ... | @@ -3517,6 +3517,7 @@ fn zirRetPtr(sema: *Sema, block: *Block) CompileError!Air.Inst.Ref { |
| 3517 | 3517 | // We are inlining a function call; this should be emitted as an alloc, not a ret_ptr. |
| 3518 | 3518 | // TODO when functions gain result location support, the inlining struct in |
| 3519 | 3519 | // Block should contain the return pointer, and we would pass that through here. |
| 3520 | try sema.queueFullTypeResolution(sema.fn_ret_ty); | |
| 3520 | 3521 | return block.addTy(.alloc, ptr_type); |
| 3521 | 3522 | } |
| 3522 | 3523 |