Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Return associated getters/setters from F# properties #216

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

Merged
merged 1 commit into from
Sep 9, 2014

Conversation

dungpa
Copy link
Contributor

@dungpa dungpa commented Sep 9, 2014

Close #178.
Close #191.

This PR exposes associated getters/setters' symbols from properties' symbols. It allows us to bypass imprecision of F# properties' symbols in many cases.

We have a hack to return getters/setters from extension properties at https://github.com/fsprojects/VisualFSharpPowerTools/blob/faa1b282dd4e740c36651ba8a85c8f9fdd89a04b/src/FSharpVSPowerTools.Core/LanguageService.fs#L432-L450, but I believe it consists of subtle bugs. It is a relief to be able to get rid of this hack.

fsgit added a commit that referenced this pull request Sep 9, 2014
Return associated getters/setters from F# properties
@fsgit fsgit merged commit 63374e8 into fsharp:master Sep 9, 2014
@dungpa dungpa deleted the property-methods branch September 9, 2014 14:10
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.

Return associated getter/setter methods of a property GetAllUsesOfAllSymbolsInFile returns wrong FSharpSymbolUse for extension properties
2 participants