Dana Jansens
b22ee48c9b
Forbid nested where inside a where expression ( #7378 )
...
This disallows building a facet type that contains another facet type
with non-extend constraints in it. Which in turn prevents the
possibility of introducing a different `.Self` into a facet type.
Eval can still insert a facet type with non-extend constraints, as we
only prevent it for `where` being written into the facet type. There is
a TODO in handle_where.cpp for this and some tests in
toolchain/check/testdata/facet/nested_facet_types_from_eval.carbon
2026-06-25 18:56:36 +00:00
..
2026-06-05 22:33:30 +00:00
2026-06-25 18:56:36 +00:00
2026-06-13 00:22:00 +00:00
2026-06-10 15:30:43 +00:00
2026-06-13 00:22:00 +00:00
2026-05-19 18:01:54 +00:00
2026-05-19 18:01:54 +00:00
2026-06-13 00:22:00 +00:00
2026-06-10 15:30:43 +00:00
2026-02-19 23:33:36 +00:00
2026-06-13 00:22:00 +00:00
2026-05-19 18:01:54 +00:00
2026-06-04 17:41:46 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-04 17:41:46 +00:00
2026-06-04 17:41:46 +00:00
2026-05-13 16:11:20 +00:00
2026-02-27 13:50:56 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-05-19 18:01:54 +00:00
2026-06-13 00:22:00 +00:00
2026-06-05 22:33:30 +00:00
2026-06-04 17:41:46 +00:00
2026-06-04 17:41:46 +00:00
2026-06-13 00:22:00 +00:00
2026-06-05 22:33:30 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-05 22:33:30 +00:00
2026-06-25 18:56:36 +00:00
2026-06-13 00:22:00 +00:00
2026-05-07 13:44:40 +00:00
2025-06-18 20:45:46 +00:00
2026-06-13 00:22:00 +00:00
2026-06-24 21:08:24 +00:00
2026-06-25 18:56:36 +00:00
2026-06-13 00:22:00 +00:00
2026-06-10 15:30:43 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-10 15:30:43 +00:00
2026-06-04 17:41:46 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-17 16:31:26 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-05-19 18:01:54 +00:00
2026-06-04 17:41:46 +00:00
2026-06-02 22:33:15 +00:00
2026-05-29 00:55:04 +00:00
2026-05-04 19:11:51 +00:00
2026-06-05 22:33:30 +00:00
2026-05-12 22:15:09 +00:00
2026-06-13 00:22:00 +00:00
2026-06-13 00:22:00 +00:00
2026-06-04 17:41:46 +00:00
2026-06-13 00:22:00 +00:00
2026-06-10 15:30:43 +00:00