Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect rude edits in trivia-only changes #69059

Merged
merged 3 commits into from
Jul 17, 2023
Merged

Detect rude edits in trivia-only changes #69059

merged 3 commits into from
Jul 17, 2023

Conversation

tmat
Copy link
Member

@tmat tmat commented Jul 16, 2023

Fixes #69027

Two issues:

  1. When calculating line deltas we didn't handle correctly cases where a new line is added inside block (or other node that has multiple breakpoint spans). These led to unnecessary recompilations.

  2. We did not report rude edits when a body containing stackalloc is recompiled due to trivial-only changes.

@tmat tmat requested review from a team as code owners July 16, 2023 17:33
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Interactive untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 16, 2023
@tmat
Copy link
Member Author

tmat commented Jul 16, 2023

@davidwengier ptal

@tmat tmat merged commit 7a6988c into dotnet:main Jul 17, 2023
27 checks passed
@tmat tmat deleted the StackAlloc branch July 17, 2023 18:46
@ghost ghost added this to the Next milestone Jul 17, 2023
@allisonchou allisonchou modified the milestones: Next, 17.8 P1 Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Interactive untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Program crashes on second hot reload with stackalloc on method body
3 participants