Skip to content

Conversation

@cartermp
Copy link
Contributor

Fixes #4937

#4328 introduced a regression where a null IVsHierarchy was captured into a binding, where it would cause a nullref: https://github.com/Microsoft/visualfsharp/blob/master/vsintegration/src/FSharp.Editor/LanguageService/LanguageService.fs#L683

Here we just short circuit out to the default case (where it would have gone prior to this change) when it is null.

@cartermp
Copy link
Contributor Author

@eiriktsarpalis This should fix the issue you reported

@KevinRansom KevinRansom merged commit eaff320 into dotnet:master May 18, 2018
@cartermp cartermp deleted the fix-annotation branch May 22, 2018 02:30
dsyme pushed a commit that referenced this pull request Jun 5, 2018
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
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.

3 participants