Andrew Kelley e6b73be870 Sema: fix crash when coercion dest is var args
When analyzing the `as` ZIR instruction, an assertion would trip if the
result type was a var args function argument. The fix is simple: inline
a little bit of the `resolveType` logic into `analyzeAs` to make it
detect this situation - which it was already attempting to do.

Closes #16197
2023-10-12 22:03:39 -07:00
..
2023-07-28 19:27:08 -04:00
2023-10-11 00:53:07 -07:00
2023-06-25 14:51:03 -07:00
2023-09-26 21:07:47 +02:00