Richard Smith
42bda1e38f
Don't substitute into the targeted instructions of an associated constant. ( #4342 )
...
When an instruction makes an absolute reference to another instruction,
such as when `assoc_const` refers to the declaration of the associated
constant in an interface, substitution into that instruction should not
substitute into the referenced instruction.
Mark the corresponding `InstId` fields in the typed instructions as
being absolute by giving them a distinct ID type that `Subst` doesn't
substitute into. This formation of unnecessarily complicated SemIR that
could in some cases lead to a CHECK failure when printing formatted
SemIR because the same instruction ends up in multiple scopes.
2024-09-27 17:41:05 +00:00
..
2024-05-21 20:33:20 +00:00
2024-09-27 17:41:05 +00:00
2024-09-05 23:39:58 +00:00
2024-09-19 21:32:53 +00:00
2024-09-05 23:39:58 +00:00
2024-09-12 16:42:08 +00:00
2024-09-19 21:32:53 +00:00
2024-08-23 00:05:26 +00:00
2024-09-27 01:41:56 +00:00
2024-09-25 19:12:58 +00:00
2024-09-19 21:32:53 +00:00
2024-09-13 21:31:43 +00:00
2024-09-12 16:42:08 +00:00
2024-09-19 21:32:53 +00:00
2024-09-25 19:12:58 +00:00
2024-09-19 21:32:53 +00:00
2024-09-05 23:39:58 +00:00
2024-03-28 18:15:18 +00:00
2024-09-27 01:41:56 +00:00
2024-07-25 16:42:01 +00:00
2024-09-19 21:32:53 +00:00
2024-08-09 01:05:03 +00:00
2024-07-03 16:58:47 +00:00
2024-07-03 16:58:47 +00:00
2024-09-26 00:24:38 +00:00
2024-09-26 00:24:38 +00:00
2024-09-25 19:12:58 +00:00
2024-07-03 17:49:47 +00:00
2024-09-25 19:12:58 +00:00
2024-09-19 21:32:53 +00:00
2024-09-25 19:12:58 +00:00
2024-07-12 22:38:06 +00:00
2024-07-12 22:38:06 +00:00
2024-09-25 19:12:58 +00:00
2024-07-12 22:38:06 +00:00
2024-09-25 19:12:58 +00:00
2024-07-12 22:38:06 +00:00
2024-07-12 22:38:06 +00:00
2024-09-25 19:12:58 +00:00
2024-07-12 22:38:06 +00:00
2024-09-12 16:42:08 +00:00
2024-09-25 19:12:58 +00:00
2024-08-19 22:12:21 +00:00
2024-09-19 21:32:53 +00:00
2024-09-25 19:12:58 +00:00
2024-09-25 19:12:58 +00:00
2024-09-19 21:32:53 +00:00
2024-09-19 21:32:53 +00:00
2024-07-12 22:38:06 +00:00
2024-09-19 21:32:53 +00:00
2024-09-25 19:12:58 +00:00
2024-07-12 22:38:06 +00:00
2024-09-25 19:12:58 +00:00
2024-09-12 16:42:08 +00:00
2024-09-19 21:32:53 +00:00
2024-07-12 22:38:06 +00:00
2024-07-23 20:32:24 +00:00
2024-07-12 22:38:06 +00:00
2024-09-19 21:32:53 +00:00
2024-07-12 22:38:06 +00:00
2024-09-27 01:41:56 +00:00
2024-07-12 22:38:06 +00:00
2024-09-19 21:32:53 +00:00
2024-03-07 23:10:14 +00:00
2024-09-25 19:12:58 +00:00
2024-07-19 22:43:50 +00:00
2024-09-19 21:32:53 +00:00
2024-07-24 19:56:17 +00:00
2024-09-12 16:42:08 +00:00
2024-09-12 16:42:08 +00:00
2024-08-29 21:10:14 +00:00
2024-02-28 01:56:27 +00:00
2024-09-11 00:03:25 +00:00
2024-09-12 16:42:08 +00:00
2024-09-19 21:32:53 +00:00
2024-09-17 20:26:48 +00:00
2024-09-19 21:32:53 +00:00
2024-08-27 20:26:23 +00:00
2024-09-19 21:32:53 +00:00
2024-08-19 22:12:21 +00:00
2024-09-25 19:12:58 +00:00
2024-09-25 19:12:58 +00:00
2024-09-12 16:42:08 +00:00
2024-09-27 01:41:56 +00:00
2024-09-05 23:39:58 +00:00
2024-09-05 23:39:58 +00:00
2024-07-17 22:05:19 +00:00
2024-08-29 21:10:14 +00:00
2024-06-04 20:04:45 +00:00
2024-03-18 17:40:00 +00:00
2024-09-19 21:32:53 +00:00
2024-03-09 00:21:29 +00:00
2024-01-25 18:19:22 +00:00
2024-09-25 17:06:09 +00:00
2024-09-25 17:06:09 +00:00
2024-09-23 23:59:25 +00:00
2024-08-23 00:05:26 +00:00
2024-09-12 16:42:08 +00:00
2024-08-09 01:05:03 +00:00