Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Apr 8, 2025

Fixes https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2441901

Backport of #77993 to release/dev17.14

/cc @RikkiGibson

Customer Impact

Without this change, a user in the default configuration effectively can't use the field keyword in structs.

Regression

  • Yes
  • No

Regression introduced in #77127.

Testing

Added a bunch of new unit tests to try and find more cycles in nullable backing field inference.

Risk

Low. We adjusted the code so that when the problematic condition is encountered in release builds, we short circuit the inference, choose a "reasonable" value, for the nullability and proceed, instead of crashing.

@github-actions github-actions bot requested a review from a team as a code owner April 8, 2025 16:47
@ghost ghost added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 8, 2025
@jaredpar jaredpar added Feature - Field Keyword and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 8, 2025
@jaredpar jaredpar added this to the 17.14 milestone Apr 8, 2025
@jaredpar jaredpar merged commit 575cfa2 into release/dev17.14 Apr 10, 2025
24 checks passed
@jaredpar jaredpar deleted the backport/pr-77993-to-release/dev17.14 branch April 10, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants