Skip to content

Add a new Location.Create overload for external file location with a different mappedLineSpan#64240

Merged
mavasani merged 6 commits intodotnet:mainfrom
mavasani:LocationCreate
Oct 6, 2022
Merged

Add a new Location.Create overload for external file location with a different mappedLineSpan#64240
mavasani merged 6 commits intodotnet:mainfrom
mavasani:LocationCreate

Conversation

@mavasani
Copy link
Contributor

Closes #64236

Proposal details in #64236 (comment)

Reuse Location constructors and remove FilePath property
@mavasani mavasani marked this pull request as ready for review September 30, 2022 05:21
@mavasani mavasani requested review from a team as code owners September 30, 2022 05:21
@mavasani
Copy link
Contributor Author

mavasani commented Oct 4, 2022

ping @dotnet/roslyn-compiler for reviews.

FYI: This is blocking TypeScript team from moving to a new model of how they report diagnostics with primary/secondary buffer.

@MariaSolOs
Copy link
Contributor

ping @dotnet/roslyn-compiler for reviews.

FYI: This is blocking TypeScript team from moving to a new model of how they report diagnostics with primary/secondary buffer.

Bumping this. This represents a major change in our script block management and the sooner this change gets merged, the more time we'll have to test this carefully in 17.5.

@CyrusNajmabadi
Copy link
Contributor

@dotnet/roslyn-compiler can we get a second pair of eyes on this pr?

@AlekseyTs
Copy link
Contributor

Done with review pass (commit 4)

@MariaSolOs
Copy link
Contributor

Thanks @AlekseyTs for the review! I applied your feedback in mavasani#3, (I've been piggy-backing on @mavasani's branch).

Expose non-mapped location constructor
Copy link
Contributor

@AlekseyTs AlekseyTs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (commit 6). Please squash commit in the process of merging.

@mavasani mavasani enabled auto-merge (squash) October 6, 2022 01:07
@mavasani mavasani merged commit 80277a5 into dotnet:main Oct 6, 2022
@ghost ghost added this to the Next milestone Oct 6, 2022
@mavasani mavasani deleted the LocationCreate branch October 6, 2022 02:19
@RikkiGibson RikkiGibson removed this from the Next milestone Oct 24, 2022
@RikkiGibson RikkiGibson added this to the 17.5 P1 milestone Oct 24, 2022
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.

Add a new Location.Create overload for external file location with a different mappedLineSpan

6 participants