Repository navigation
Spec v7.4 (D71): ten rulings from the modeled-C close-out - #1767
Merged
Merged
Conversation
…ices, positional get retired, @[flags]/from_int, closure -> T, :? coverage, repr(packed(N)), and facade ok lists, valid on failed, callback-scope handles (ruling Amendment 1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Eric's "predicted" (2026-09-27) on the close-out brief. Docs only; spec-inventory-check green. Merging this PR blesses the words.
s[a..b]on str is a&strview of byte offsets; out of range or mid-character panicsget;xs[i]is the one spelling (getstays the keyed-map lookup)@[flags]without a repr doubles in the default representation; never ignoredfrom_intonly on all-unit enums; a payload variant makes the call an error naming it-> Tis checked like a declared return type:?covers the table's types, compositions andimpl Debug; no Debug form is a compile error, never a placeholder@[repr(packed(N))]caps field alignment at N (C's#pragma pack(N)); c_import emits itokmay list several constants; the success side carries the matched statusvalid on failedpresents an operation on the failed-state typehandle Name wraps *mut T: callback-scope, no producer/destroyer/DropOne deliberate difference from the brief: I predicted
repr(packed(N))would be unwritable outside a facade; the text lets any record use it, asrepr(packed)already can. Merging accepts that; say so if you want the restriction.The modeled-C ruling's canonical text is untouched; the three facade clauses are an appended Amendment 1. The compiler is NON-COMPLIANT on each until implemented.