Richard Smith
e1c8c1f855
Use specific_constant when referring to name in enclosing generic ( #7936 )
...
When unqualified lookup finds a name from an enclosing generic, create a
`specific_constant` if it's a constant, or a `specific_inst` otherwise,
to refer to that name from the inner generic. This allows consumers of
generic instructions to always use a specific of the current scope's
generic when accessing the constant value or type of a dependent
instruction.
Fixes crashes in dominance and in `GetExprCategory` caused by using
specifics for the wrong generic.
Assisted-by: Gemini via Antigravity
2026-10-15 02:00:24 +00:00
..
2026-09-15 16:02:13 +00:00
2026-10-15 02:00:24 +00:00
2026-09-18 19:12:05 +00:00
2026-10-14 14:12:56 +00:00
2026-09-22 15:04:40 +00:00
2026-10-15 02:00:24 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-06-10 15:30:43 +00:00
2026-07-11 01:22:44 +00:00
2026-10-15 02:00:24 +00:00
2026-09-22 15:04:40 +00:00
2026-09-22 15:04:40 +00:00
2026-10-14 14:12:56 +00:00
2026-10-15 02:00:24 +00:00
2026-10-14 14:12:56 +00:00
2026-10-11 23:09:12 +00:00
2026-10-11 23:09:12 +00:00
2026-10-14 14:12:56 +00:00
2026-09-22 15:04:40 +00:00
2026-10-14 14:12:56 +00:00
2026-09-22 15:04:40 +00:00
2026-10-14 14:12:56 +00:00
2026-10-11 23:09:12 +00:00
2026-09-22 15:04:40 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 17:54:41 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-09-22 15:04:40 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-08-17 20:49:23 +00:00
2026-07-11 01:22:44 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-07-11 01:22:44 +00:00
2026-10-14 14:12:56 +00:00
2026-07-11 01:22:44 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-15 02:00:24 +00:00
2026-06-10 15:30:43 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-15 02:00:24 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-15 02:00:24 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-07-11 01:22:44 +00:00
2026-09-22 15:04:40 +00:00
2026-07-27 14:49:06 +00:00
2026-10-14 17:54:41 +00:00
2026-10-15 00:30:09 +00:00
2026-05-04 19:11:51 +00:00
2026-10-06 17:23:49 +00:00
2026-10-14 16:44:37 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-07-11 01:22:44 +00:00