Repository navigation
Spec v7.5 (D72, D73): liveness byte for all-zero Drop values; an assignment's value is a read of the place - #1784
Merged
Merged
Conversation
This was referenced Sep 27, 2026
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 rulings of 2026-09-27. Docs only; spec-inventory-check green. Merging blesses the words.
Droptype whose all-zero storage can be a live value gets a hidden liveness byte (the reset clears it, the guard reads it); types with an owning non-null field pay nothing. Option 1 of the brief ("Problem 1: option 1").placeafter the store — C11 §6.5.16's rule read through D22/D27's view semantics.a = b = 3copies;a = b = sfor non-Copysis the ordinary owned-demand-on-a-view error; D60's tail rule is the same rule at the tail and stands. Statement-form (Go/Swift/Zig) was weighed and rejected for the C idioms and the migrated corpora's 16,000+ parenthesized assignments.The compiler is NON-COMPLIANT on both until implemented (ownership changes; they join the current stack's ownership layer).