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-10-05 00:19:25 -04:00
2023-10-02 15:31:49 -06:00
2023-10-04 11:21:56 -07:00
2023-10-08 16:54:31 -07:00
2023-08-15 02:52:38 -07:00
2023-10-02 15:31:49 -06:00
2023-10-10 21:40:23 -07:00