Sema: fix generic function with void parameters

This also fixes a bug that I didn't see causing any problems yet in
generic function instantiation where it would read from a GetOrPutResult
too late.

Also it delays full resolution of generic function type parameters until
after the function body is finished being analyzed.

closes #11291
bb0e28a54fAndrew Kelley committed on 3/25/2022, 2:36:36 AMparent7cfa97a
2 files changedLine totals unavailable