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-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-15 02:00:24 +00:00
2026-10-14 14:12:56 +00:00
2026-10-15 02:00:24 +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-09-22 15:04:40 +00:00
2026-10-14 14:12:56 +00:00
2026-09-22 15:04:40 +00:00
2026-09-22 15:04:40 +00:00
2026-09-22 15:04:40 +00:00
2026-02-25 15:15:29 +00:00
2025-06-17 21:10:04 +00:00
2026-07-11 01:22:44 +00:00
2025-06-17 21:10:04 +00:00
2026-05-13 21:22:46 +00:00
2026-05-22 02:48:07 +00:00
2026-06-10 15:30:43 +00:00
2026-07-11 01:22:44 +00:00
2026-06-10 15:30:43 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2025-06-17 21:10:04 +00:00
2026-07-11 01:22:44 +00:00
2026-10-14 14:12:56 +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-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-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-05-13 21:22:46 +00:00
2026-10-12 19:02:57 +00:00
2026-10-14 14:12:56 +00:00
2026-10-14 14:12:56 +00:00
2026-09-08 23:15:42 +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-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