Skip to content

Add doc about ref-struct lifetime variance - #9418

Open
agocke wants to merge 3 commits into
dotnet:mainfrom
agocke:lifetime-variance
Open

Add doc about ref-struct lifetime variance#9418
agocke wants to merge 3 commits into
dotnet:mainfrom
agocke:lifetime-variance

Conversation

@agocke

@agocke agocke commented Jun 2, 2025

Copy link
Copy Markdown
Member

This should wrap up any formalization holes we have around lifetime variance and nested ref fields

@agocke
agocke requested a review from a team as a code owner June 2, 2025 05:25
@agocke

agocke commented Jun 2, 2025

Copy link
Copy Markdown
Member Author

@jaredpar

@agocke
agocke requested review from RikkiGibson and jaredpar June 2, 2025 05:26
Comment thread proposals/lifetime-variance.md Outdated
@jaredpar

jaredpar commented Jun 2, 2025

Copy link
Copy Markdown
Member

Kinda wary about the number of lifetime docs we have now. Debating if we should just add this directly into the low level struct improvements doc or put it in the expand ref one.

@agocke

agocke commented Jun 2, 2025

Copy link
Copy Markdown
Member Author

Seems like a fine idea to me. Happy to centralize. I mention at the top that it’s based on the low-level improvements doc.

@jaredpar

jaredpar commented Jun 2, 2025

Copy link
Copy Markdown
Member

As long as it's describing existing behavior we should just update the existing doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants