Sema: fix in-memory coercion of functions introducing new generic parameters

While it is not allowed for a function coercion to change whether a
function is generic, it *is* okay to make existing concrete parameters
of a generic function also generic, or vice versa. Either of these cases
implies that the result is a generic function, so comptime type checks
will happen when the function is ultimately called.

Resolves: #21099
eedfce92b0mlugg committed on 3/24/2025, 6:02:05 AM· committed by Alex Rønne Petersenparent7b9e482
2 files changedLine totals unavailable