Skip to content

spec: D134, per-value borrow origins, detaches param N, text utf8 (v7.34) - #2421

Merged
ehartford merged 1 commit into
mainfrom
d134-spec
Oct 15, 2026
Merged

ehartford merged 1 commit into
mainfrom
d134-spec

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

Docs-only: the three rulings Eric blessed verbatim on 2026-10-15 (D134), closing D122's two open briefs. Spec-inventory-check green under the pinned seed. The compiler is NON-COMPLIANT until the renderer and Sema conform (next PR).

…ne. §16.2b.6: a borrowed value's origin is the origin of the argument it was borrowed through, bound at each call, one borrowed type for every origin (one parameter per call; a borrow from either of two parameters is not yet ruled); `detaches param N` yields an owned R dependent on its origin as a `borrows` child is, invalidating the origin's views (libxml2's xmlUnlinkNode leaves node->doc set and xmlFreeNode reads the document's dictionary through it, verified in tree.c 2.15.4). §16.2b.8: a facade-level `text utf8` declaration, `text return bytes` per item, validated at the boundary, a violation a contract failure naming the C function, nothing repaired. Closes D122's two open briefs; D121's status updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant