Sema: ignore comptime params in partial func type check

This fixes a bug exposed by cd1833044ab7505bc101c85f59889bd3ea3fac80
where a function type would be converted to generic_poison even after
being instantiated due to containing comptime only types.

This could also be fixed by just checking `is_generic_instantiation`
but this way also provides better type names.

Closes #12625
4405188cf7Veikka Tuominen committed on 8/25/2022, 1:29:23 PMparent3a7ea0b
4 files changedLine totals unavailable