arhwx
07111398d8
Anchor the orphan rule on the first owning declaration ( #7573 )
...
`DiagnoseOrphanImpl` used `definition_id`, but #7140 defines the anchor
as the first owning declaration, so a class declared but not defined was
rejected, which is why three cases in `orphan.carbon` were marked
`fail_todo`, and they now pass.
`fail_use_extern_class` no longer errors, `handle_class.cpp` never
passes the `extern library` name into the class entity, so `C` is
treated as locally owned and counts as an anchor. The expected error is
replaced with a TODO in the test, but it should come back once `extern
library` is implemented for classes.
2026-07-27 14:49:06 +00:00
..
2026-07-11 01:22:44 +00:00
2026-07-16 15:12:39 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-06-10 15:30:43 +00:00
2026-07-11 01:22:44 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-05-13 16:11:20 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-16 19:11:23 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-21 19:31:54 +00:00
2026-07-13 20:38:19 +00:00
2026-07-11 01:22:44 +00:00
2026-07-11 01:22:44 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-11 01:22:44 +00:00
2026-07-13 20:38:19 +00:00
2026-07-11 01:22:44 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-21 19:31:54 +00:00
2026-06-10 15:30:43 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-21 19:31:54 +00:00
2026-07-16 18:02:14 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-11 01:22:44 +00:00
2026-07-13 20:38:19 +00:00
2026-07-27 14:49:06 +00:00
2026-05-29 00:55:04 +00:00
2026-05-04 19:11:51 +00:00
2026-07-21 19:31:54 +00:00
2026-07-21 19:31:54 +00:00
2026-07-22 17:00:53 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-13 20:38:19 +00:00
2026-07-11 01:22:44 +00:00