Section Placement Control proposal #2949
Open
+438
−0
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.
Sending the "Section Placement Control" proposal (pitched 3 times on the forums, see links in the doc) for review. Note that the wording and smaller details of the proposal were changed specifically so that proposal should be reviewable independently from the Swift Compile-Time Values proposal: The text no longer refers to the
@const
syntax being proposed in Swift Compile-Time Values, and drops the extension that introduced@constInitialized
.Even though there is still a clear connection between Section Placement and Compile-Time Values, I would like to request an independent review of this proposal in separation, without having a final design for the exact syntax and allowed data types to be eligible for being compile-time guaranteed. Those aspects are still important and need to be finalized, but do not impact the content of this proposal.