Adds the same save+null+defer-restore block at the top of `monomorphizeFunction` that landed in `lazyLowerFunction` for issue-0048. The outer pack-fn's `pack_arg_nodes` / `pack_param_count` / `pack_arg_types` / `inline_return_target` are now suppressed for the duration of the generic mono's body lowering and restored on exit. `examples/175-generic-fn-pack-state-leak.sx` flips green (len=0/1/2/4 across the four pack shapes); suite stays at 215/215.
722 KiB
722 KiB