Issue #2568: Packages, scripts, benches and tests drop ref and write keep (views-3 migration of the rest of the tree)

Open and answer this issue on GitHub.

ready · opened 2026-11-21 · updated 2026-11-21 · 0 comments

Part of #1213 Needs #1254

What it is

The rest of #1213 item 6: after the examples, the guide and twelve language test files (c29a3674, b529b5da), the packages, the scripts, benches/ and the tests still write ref outside extern "C" (ADR-views-v4 D4). nikaia migrate views-3 (763bf9e4) does the rewrite; its open defects for type forms are #1254’s.

To build

  1. Run nikaia migrate views-3 over packages/, scripts/, benches/, tests/ (language, compiler, build-time, accepted), then update the expected outputs (.stdout/.stderr) the change moves. A file the tool still gets wrong stays unmigrated and is named in the report with its probe.

Done when

No .nika outside crates/nikaia-std writes ref outside extern "C" (or each one left is named with its reason in the report), and the touched packages’ and tests’ runs pass; the commit carries Fixes #N for this issue, and the report gives a Found: line per finding.

Split from #1213 by Claude Code

Back to Open Issues