-
Notifications
You must be signed in to change notification settings - Fork 832
fix metadata failure due to double integration of signature #14189
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
Conversation
|
@T-Gro It was a horrible bug several layers deep. I'd like us to consider why this slipped through
|
|
The place where rootSig was already being added to the tcState is fsharp/src/Compiler/Driver/ParseAndCheckInputs.fs Lines 1265 to 1268 in 790e3c6
We shouldn't have been adding it again in AddDummyCheckResultsToTcState, which now becomes simple enough that it can be removed altogether. |
TIHan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
/backport to release/dev17.4 |
|
Started backporting to release/dev17.4: https://github.com/dotnet/fsharp/actions/runs/3343596286 |
It was at a bad intersection for our testing:
Turns out that the test coverage for the intersection of these two properties is small to non-existent. I think trying to pickle and unpickle our own projects would be a huge improvement already. |

Tentative fix for #14179