-
Notifications
You must be signed in to change notification settings - Fork 789
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
Remove unused code #14589
Remove unused code #14589
Conversation
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.
I love this change, but I want to understand whether the reordering of the baseline file is benign.
Also there is too much churn in that file to see whether something interesting was removed.
So if we can hold off on merging for a short while.
I want to nominate this for PR of the year. |
I'm gonna do the baselines for this differently, so the big delta here is fine for now. |
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.
Now I think I understand what is going on with the baseline.
@T-Gro I've addressed all the remarks. This one is good to go. |
In light of #14567, I believe to have found some code that is unused.
These are top-level functions that are unused in the file they are defined and are not part of the signature.
In some cases, I did update the signature file. (For example in
Result.toSeq
in FSharp.Core, because the value was missing insrc/FSharp.Core/result.fsi
it was considered unused).And in
sformat.fs
I did shuffle some functions a bit because depending on theCOMPILER
define value the code was considered to be unused or not. This file is used both inFCS
andFSharp.Core
.