Skip to content

don't throw when a conflicting linked file change ends inside a line break - #86084

Merged
dibarbet merged 1 commit into
dotnet:mainfrom
lagudafuadtosin:fix-86001
Oct 20, 2026
Merged

dibarbet merged 1 commit into
dotnet:mainfrom
lagudafuadtosin:fix-86001

Conversation

@lagudafuadtosin

@lagudafuadtosin lagudafuadtosin commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

fixes #86001

the conflict comment took its text up to the end of the line, so a change ending inside a crlf fell outside the source text and dotnet format crashed. it now takes the line including its line break. test added.

Microsoft Reviewers: Open in CodeFlow

… no longer throws when the conflict comment is built

Fixes dotnet#86001
@lagudafuadtosin
lagudafuadtosin requested a review from a team as a code owner October 15, 2026 23:14
@dotnet-policy-service dotnet-policy-service Bot added Community The pull request was submitted by a contributor who is not a Microsoft employee. VSCode labels Oct 15, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

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

Labels

Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. VSCode

Projects

None yet

4 participants