Andrew Kelley
0893326e0e
Sema: slice improvements
...
* resolve_inferred_alloc now gives a proper mutability attribute to the
corresponding alloc instruction. Previously, it would fail to mark
things const.
* slicing: fix the detection for when the end index equals the length
of the underlying object. Previously it was using `end - start` but
it should just use the end index directly. It also takes into account
when slicing a comptime-known slice.
* `Type.sentinel`: fix not handling all slice tags
2022-02-03 21:05:10 -07:00
..
2022-02-03 20:23:46 -05:00
2022-02-01 13:20:28 -05:00
2022-02-03 21:42:48 +01:00
2022-02-01 19:06:40 -07:00
2021-11-30 23:32:47 +00:00
2022-01-30 16:23:31 -07:00
2022-02-01 19:06:40 -07:00
2021-12-10 23:09:02 +01:00
2022-01-29 15:52:08 +02:00
2022-01-19 11:41:08 -07:00
2021-11-26 19:59:33 -07:00
2021-12-19 00:24:45 -05:00
2022-02-02 13:43:41 +01:00
2022-01-27 13:39:28 -07:00
2021-10-22 12:50:25 +02:00
2022-01-18 15:10:49 -05:00
2021-11-30 23:32:47 +00:00
2020-12-07 17:27:09 -07:00
2022-01-14 12:39:06 -07:00
2022-01-31 21:12:37 -07:00
2021-11-30 23:32:47 +00:00
2021-11-30 23:32:47 +00:00
2022-01-30 14:30:46 +01:00
2022-01-02 13:16:17 -07:00
2022-01-02 13:16:17 -07:00
2022-01-26 15:01:59 -07:00
2022-01-30 16:23:31 -07:00
2022-02-02 14:54:14 -07:00
2022-01-07 00:06:06 -05:00
2022-01-31 22:29:29 -05:00
2022-01-02 13:16:17 -07:00
2021-11-30 23:32:47 +00:00
2022-01-30 16:23:31 -07:00
2021-11-30 23:32:47 +00:00
2021-11-30 23:32:47 +00:00
2022-01-24 21:53:57 -07:00
2021-11-30 23:32:47 +00:00
2022-02-03 18:08:29 +01:00
2022-02-03 21:05:10 -07:00
2022-01-11 13:33:53 +01:00
2022-01-26 09:10:12 +02:00
2022-01-29 15:52:08 +02:00
2021-11-30 23:32:47 +00:00
2022-01-07 00:06:06 -05:00
2022-01-31 22:09:41 -07:00
2022-02-03 21:05:10 -07:00
2021-11-30 23:32:47 +00:00
2022-02-01 13:20:28 -05:00
2021-11-09 18:31:03 -07:00
2021-11-30 23:32:47 +00:00
2021-09-24 13:39:20 -04:00
2021-09-07 21:49:08 -06:00
2020-09-21 21:14:01 -07:00
2021-09-01 17:54:07 -07:00
2021-08-15 18:06:29 -07:00
2021-08-15 18:06:29 -07:00
2021-08-15 18:06:29 -07:00
2021-10-20 17:58:30 -04:00
2021-10-20 17:58:30 -04:00
2021-09-30 21:38:04 -07:00
2021-12-28 01:53:58 -07:00
2021-12-28 01:53:58 -07:00
2022-01-31 22:29:29 -05:00