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

Rename an enum member to be clearer, and add docs as well. #31760

Merged
merged 2 commits into from
Jan 2, 2019

Conversation

CyrusNajmabadi
Copy link
Member

Note: i decided against SyntaxTreeAnalysis as i really wanted the member to be very visible asnot being appropriate if you do anything the semantic model. With this name, my hope is that PRs are easier because someone would see this and then more readily notice if the semantic model was used.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner December 13, 2018 19:22
@CyrusNajmabadi
Copy link
Member Author

@mavasani As an aside. One thing we probably also want to do is have the IDE analysis layer throw if someone does something wrong. So, for example, if you use SyntaxTreeWithoutSemanticsAnalysis but then register an action taht needs semantics, we should likely tell you you did something wrong.

@mavasani
Copy link
Contributor

@CyrusNajmabadi I agree

@CyrusNajmabadi
Copy link
Member Author

Note: #31759 will supersede this. I prefer that approach, but it may take longer to get in due to risk. As such, i woudl still take this in the short term to help prevent further bugs from creeping in.

@jcouv jcouv added the Area-IDE label Dec 18, 2018
@jcouv
Copy link
Member

jcouv commented Dec 18, 2018

@jinujoseph for approval for preview2. Thanks

@jinujoseph jinujoseph added Area-Compilers Community The pull request was submitted by a contributor who is not a Microsoft employee. and removed Area-Compilers labels Dec 18, 2018
@jinujoseph jinujoseph added this to the 16.0.P2 milestone Dec 18, 2018
@mavasani mavasani merged commit da28302 into dotnet:master Jan 2, 2019
@CyrusNajmabadi CyrusNajmabadi deleted the renameDiagnosticMember branch January 25, 2020 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved to merge Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants