Repository navigation
spec §16.2b.4 / D59: ok projects a producer to Result[R, RError] - #1427
Merged
Merged
Conversation
… generated error owns a failed-but-produced resource Blessed by Eric 2026-09-23. RError is a generated error declaration (Failed / FailedWithResource / NothingProduced); the error owns and destroys a failed-but-produced resource and ? moves that ownership; a resource owned by an error admits raw access only until the facade can mark failure-state operations; the generated name collides loudly; no (status, Option[R]) constructor under ok; in-place with ok frees the pinned heap cell with no destruction call on failure. PR #1426 (stage 5) conforms.
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 blessed wording (2026-09-23) for the
ok CONSTprojection D51 left open (ruling §18), plus the D59 entry recording the ruling and its reasons. Docs-only::spec-inventory-checkgreen. PR #1426 (modeled C stage 5) implements it.