zig/test/behavior
sin-ack 032c722d20
Sema: Fix many-pointer array concatenation at comptime (#11512)
* Sema: Correctly determine whether array_cat lhs and rhs are single ptrs

Many-pointers are also not single-pointers and wouldn't be considered
here. This commit makes the conditions use the appropriately-named
isSinglePointer instead.

* Sema: Correctly obtain ArrayInfo for many-pointer concatenation

Many-pointers at comptime have a known size like slices and can be used
in array concatenation. This fixes a stage1 regression.

* test: Add comptime manyptr concatenation test

Co-authored-by: sin-ack <sin-ack@users.noreply.github.com>
2022-04-29 22:53:06 -04:00
..
2022-02-28 23:20:05 +01:00
2022-04-22 07:52:21 -07:00
2022-03-30 12:10:02 +03:00
2022-03-26 21:20:29 +01:00
2021-10-28 17:33:05 -07:00
2022-03-18 15:02:52 -07:00
2022-04-16 12:23:47 +02:00
2022-02-13 14:42:20 +02:00
2022-03-08 21:10:04 +01:00
2022-03-09 13:53:20 -07:00
2022-04-22 07:52:21 -07:00
2022-03-05 11:31:51 +01:00
2022-01-07 00:06:06 -05:00
2022-02-22 21:57:42 +01:00
2022-04-27 17:24:36 -07:00
2022-03-21 22:01:34 -04:00
2022-04-14 10:12:45 -07:00
2022-03-18 15:02:52 -07:00
2022-03-18 15:02:52 -07:00
2022-03-05 11:31:51 +01:00
2022-03-24 17:04:50 +01:00
2022-03-23 21:40:33 +01:00
2022-03-18 00:12:22 -07:00
2022-02-28 23:20:05 +01:00
2022-03-18 15:02:52 -07:00
2022-04-07 05:04:38 -06:00
2022-03-27 11:49:54 +03:00