Skip to content

Conversation

@cartermp
Copy link
Contributor

@cartermp cartermp commented Dec 3, 2020

fixes #10533

This commit broke the code fixer: 3b294c4

Before, the call was asynchronous and so we lifted that into an option. It's no longer asynchronous, but the code compiled because asymcMaybe can also work with options. So the code was now lifting the result into an option, creating a Some(None) as the result. Because we assert that there is no symbol use, the code fixer would fail because Some(None) matches false for IsNone.

This removes the call to liftAsync, and also changes the CE to maybe because nothing is asynchronous.

@cartermp cartermp merged commit 1431e23 into dotnet:main Dec 7, 2020
@cartermp cartermp deleted the fix-opens-regression branch December 7, 2020 19:24
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
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.

Add Open codefix is broken in dogfood builds

2 participants