Open and answer this issue on GitHub.
compiler, ready · opened 2026-11-21 · updated 2026-11-21 · 0 comments
Part of #1649 Part of #1626 After #2531
Step 4 of ADR-shared-handle-cycles-1 (D3), third part: after parent links (#1649, #2531), the two other shapes the ADR orders, a previous link in a doubly linked list and an observer that points back to its subject, are proved back fields and compile without a leak. The user writes the plain field and nothing else; F1 or F2 is chosen as for parent links.
tests/compiler/tests/a_previous_link_in_a_doubly_linked_list_is_a_back_field.nika with .stdout, and whatever the candidate search or the lowering lacks for it.tests/compiler/tests/an_observer_that_points_back_to_its_subject_is_a_back_field.nika with .stdout, and whatever the candidate search or the lowering lacks for it.Both tests compile, print their expected output and lose 0 bytes under valgrind; the commit that builds item 2 carries the Fixes line for this issue.
check_cycles.nika (an output of #1646), the lowering of fields, their lowered .rs; the new tests. No new error code. No new Rust beyond the lowered output.
Split from #1649 by Claude Code