Skip to content

Clarify that all byref-like structs are zeroed in runtime async spec#120276

Merged
jakobbotsch merged 1 commit intodotnet:mainfrom
jakobbotsch:clarify-reflike
Oct 1, 2025
Merged

Clarify that all byref-like structs are zeroed in runtime async spec#120276
jakobbotsch merged 1 commit intodotnet:mainfrom
jakobbotsch:clarify-reflike

Conversation

@jakobbotsch
Copy link
Member

We agreed on zeroing all byref-like structs here, so clarify that in the spec.

We agreed on zeroing all byref-like structs, so clarify that in the
spec.
Copilot AI review requested due to automatic review settings September 30, 2025 21:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR clarifies the runtime async specification by updating terminology to be more precise about byref-like structs being zeroed after suspension points. The change aligns the documentation with implementation decisions made in a related pull request discussion.

Key Changes

  • Updated terminology from "structs containing by-ref variables" to "byref-like structs" for technical accuracy

@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 30, 2025
@jakobbotsch
Copy link
Member Author

/ba-g Doc change

@jakobbotsch jakobbotsch merged commit 9a0d1d1 into dotnet:main Oct 1, 2025
16 of 17 checks passed
@jakobbotsch jakobbotsch deleted the clarify-reflike branch October 1, 2025 20:07
@github-actions github-actions bot locked and limited conversation to collaborators Nov 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants