zig/test/behavior
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-09-23 12:36:56 -07:00
2023-09-23 12:36:56 -07:00
2023-09-23 12:36:56 -07:00
2023-09-23 12:36:44 -07:00
2023-09-23 12:36:56 -07:00
2023-10-07 00:29:17 -04:00
2023-05-20 17:30:22 +02:00
2023-09-23 12:36:56 -07:00
2023-10-08 04:41:55 -04:00
2023-05-20 17:30:22 +02:00
2023-09-23 12:36:56 -07:00
2023-09-23 12:36:56 -07:00
2023-09-23 12:36:56 -07:00
2023-06-27 19:57:23 -04:00
2022-01-07 00:06:06 -05:00
2023-09-23 12:36:56 -07:00
2023-10-08 04:41:55 -04:00
2023-09-23 12:36:44 -07:00
2023-05-20 18:43:26 +03:30
2023-05-20 17:30:22 +02:00
2023-09-23 12:36:56 -07:00
2023-05-11 20:31:52 +02:00
2023-09-23 12:36:56 -07:00
2023-09-23 12:36:56 -07:00
2023-09-23 12:36:56 -07:00
2023-09-23 12:36:56 -07:00
2023-09-23 12:36:56 -07:00
2023-09-23 12:36:56 -07:00
2023-10-02 20:39:02 -04:00
2023-05-11 20:31:52 +02:00
2023-09-23 12:36:56 -07:00
2023-10-07 02:10:34 -04:00