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

Fixed Literal value in signature #7901

Merged
merged 4 commits into from
Nov 28, 2019
Merged

Conversation

TIHan
Copy link
Contributor

@TIHan TIHan commented Nov 23, 2019

To resolve this: #7897

  • Tests

src/fsharp/LexFilter.fs Outdated Show resolved Hide resolved
@cartermp cartermp requested a review from dsyme November 23, 2019 17:32
@TIHan
Copy link
Contributor Author

TIHan commented Nov 26, 2019

I managed to do a one line fix for this without having to add any additional changes to the offside rules in the LexFilter. I now believe this is the correct approach and ready to merge.

Normally I would use CompilerAssert for tests, but at the moment there is no such mechanism to test sig files; a new thing would need to be built on top it. So I decided that adding a simple test like we did with the other sigs is sufficient.

@TIHan TIHan changed the title [WIP] Fixed Literal value in signature Fixed Literal value in signature Nov 26, 2019
@TIHan
Copy link
Contributor Author

TIHan commented Nov 26, 2019

@dsyme this should be pretty easy to review.

@cartermp cartermp merged commit bd667c5 into dotnet:master Nov 28, 2019
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Feb 23, 2021
* Fixed literal sig from breaking subsequent sigs

* Added tests for literal sig

* Fixed test

* Fixed test name
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.

4 participants