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

Correct active statement span tracking #72690

Merged
merged 4 commits into from
Mar 27, 2024
Merged

Conversation

tmat
Copy link
Member

@tmat tmat commented Mar 23, 2024

Represent id of an active statement by ActiveStatementId struct instead of an int and use it to link tracking spans with corresponding active statements. Also correct FindToken call in EnC analyzer to avoid out of range lookup.

Fixes IndexOutOfRangeException reported in https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1913237

@tmat tmat requested review from a team as code owners March 23, 2024 00:38
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Interactive untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 23, 2024
@tmat
Copy link
Member Author

tmat commented Mar 26, 2024

@davidwengier PTAL

@tmat tmat merged commit 6f7f627 into dotnet:main Mar 27, 2024
30 checks passed
@tmat tmat deleted the ActiveStatementId branch March 27, 2024 16:12
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Mar 27, 2024
@dibarbet dibarbet modified the milestones: Next, 17.11 P1 Apr 29, 2024
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.

None yet

3 participants