Files
carbon-lang/toolchain/check
Dana Jansens f236748629 Abandon SubstInst when encountering ErrorInst (#5692)
`SubstInst()` replaces individual instructions, and then rebuilds them
into instructions that contain those instructions. If any instruction is
an `ErrorInst`, the final result will also be an `ErrorInst`. In
pathological cases, it's possible to generate large types, [such
as](https://github.com/carbon-language/carbon-lang/issues/5672) tuples
of tuples of tuples of tuples of `something`. If that `something` is
`ErrorInst`, we can save a lot of work by avoiding building the
surrounding types, and evaluating them all to `ErrorInst`.
2025-06-18 21:33:18 +00:00
..
2025-04-11 21:47:43 +00:00
2025-06-12 20:37:27 +00:00
2025-04-14 14:28:15 +00:00
2025-06-12 22:06:12 +00:00
2025-04-14 14:28:15 +00:00
2025-04-14 14:28:15 +00:00
2025-03-01 08:00:17 +00:00