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

Add AddMissingRecToMutuallyRecFunctions code fix #10678

Merged
merged 5 commits into from
Dec 22, 2020

Conversation

cartermp
Copy link
Contributor

@cartermp cartermp commented Dec 11, 2020

image

Interestingly, this one is a parse error, but luckily there's no need to actually work out the parse tree or typecheck. Just a little extra logic to get the name of the function in the diagnostic message.

@TIHan
Copy link
Contributor

TIHan commented Dec 16, 2020

Are there any tests for this one?

@cartermp
Copy link
Contributor Author

Nope. The functionality it uses the snag an identifier is tested already. In this case it's no real logic, just putting a keyword before the error and putting an identifier in a message.

@KevinRansom
Copy link
Member

@cartermp --- take care of the conflicts mate.

@cartermp cartermp closed this Dec 22, 2020
@cartermp cartermp reopened this Dec 22, 2020
@cartermp cartermp merged commit a6c47ad into dotnet:main Dec 22, 2020
@cartermp cartermp deleted the add-rec-to-mut-rec branch December 22, 2020 23:13
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.

3 participants