Skip to content

Fix member declaration ranges#7676

Merged
KevinRansom merged 4 commits into
dotnet:masterfrom
auduchinok:memberRanges
Oct 31, 2019
Merged

Fix member declaration ranges#7676
KevinRansom merged 4 commits into
dotnet:masterfrom
auduchinok:memberRanges

Conversation

@auduchinok

@auduchinok auduchinok commented Oct 1, 2019

Copy link
Copy Markdown
Member

Currently member declarations have their beginnings stripped, e.g. static member is not in the reported range, nor are attributes. This PR fixes these ranges.

AST viewer example: jindraivanek.gitlab.io.

@auduchinok

Copy link
Copy Markdown
Member Author

Needs baseline update.

@auduchinok

auduchinok commented Oct 2, 2019

Copy link
Copy Markdown
Member Author

@brettfo I've noticed the macOS FCS build is green despite it clearly needs a baseline update. It seems tests do not run on Linux and macOS, do they?

@auduchinok

Copy link
Copy Markdown
Member Author

Is the Linux failure expected? The native crash report looks odd.

@cartermp

cartermp commented Oct 2, 2019

Copy link
Copy Markdown
Contributor

Restarting it (since it seems to generally be fine after a restart).

@auduchinok

Copy link
Copy Markdown
Member Author

It seems all recent PRs fail this way currently, so I don't think restarting it will actually help.

@cartermp

cartermp commented Oct 2, 2019

Copy link
Copy Markdown
Contributor

Yep, doesn't look like some transient failure then :(

@auduchinok auduchinok closed this Oct 3, 2019
@auduchinok auduchinok reopened this Oct 3, 2019
@brettfo

brettfo commented Oct 3, 2019

Copy link
Copy Markdown
Member

For anyone following along at home, the Linux_FCS failures are unrelated and recently disabled via #7697.

@auduchinok

Copy link
Copy Markdown
Member Author

This is ready.

@cartermp

cartermp commented Oct 8, 2019

Copy link
Copy Markdown
Contributor

Is there an issue listed somewhere that this resolves?

@auduchinok

auduchinok commented Oct 8, 2019

Copy link
Copy Markdown
Member Author

Probably not. I've updated the PR description.
The most related one probably is RIDER-11152, where it's easy to see override is not in the range.

@cartermp cartermp requested review from TIHan and dsyme October 8, 2019 17:02
@cartermp

cartermp commented Oct 9, 2019

Copy link
Copy Markdown
Contributor

@auduchinok Thanks, that's good to know.

@cartermp

Copy link
Copy Markdown
Contributor

@TIHan can we get a review on this puppy? Although it doesn't fix a tooling bug on our end, it does fix a future one we'd have if we did a similar kind of thing in VS as described above

@TIHan

TIHan commented Oct 10, 2019

Copy link
Copy Markdown
Contributor

Yes, I will try to get a review today.

@auduchinok

Copy link
Copy Markdown
Member Author

Any news on it?

@KevinRansom KevinRansom merged commit 2ce2c9e into dotnet:master Oct 31, 2019
@cartermp cartermp added this to the 16.5 milestone Mar 16, 2020
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
* Fix member declaration ranges

* Fix member declaration ranges

* Update baseline

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants