-
Notifications
You must be signed in to change notification settings - Fork 832
Show external metadata for enum fields in decompiled view #18800
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
❗ Release notes required
|
|
@dotnet-policy-service agree |
…um nice printing case
|
/run ilverify |
🔧 CLI Command Report
✅ Command succeeded, no changes needed. |
|
So, I have been attempting to fix the ILVerify fail, but following the steps in the DEVGUIDE. However, I keep getting an error saying the following each time I run the ilverify.ps1 script from the /tests/ILVerify folder: Does anyone know how I can resolve this issue, I cannot seem to figure out exactly what the problem seems to be |
What is your OS and working directory when invoking the script? |
I am working on Windows 11 Pro 24H2. I tried running the script directly from the /tests/ILVerify folder. I also attempted to run it from the git root "fsharp", but it still returns the same kind of error. |
|
Ah, you need to use new powershell, v 7.* |
|
Wait what... It turns out the default "Terminal" which I consider Powershell.... Is version 5.1.* 🤔🤔🤔I thought that it had the new version. I will give it a try with the updated version! |
|
Yeah, I should've specified pwsh version, or just make it an fsx. |
|
CI Failure unrelated. |
|
aw well, how nice, if its not the Macos one, then its just a Windows one... I don't understand, why does this pipeline seem so... unstable? Unpredictable? What is going on with this |
|
Yeah, it's an ongoing effort to deflake it. The test suite has some layers of legacy stuff. |
|
Ah yeah that makes sense. So we are actively trying to improve it, that is nice to hear! :D |
|
Thanks for the review! I will address the comments and see if I can improve the code later today :D |
Head branch was pushed to by a user without write access
|
I addressed the comments from the PR, and attempted in general to improve the code quality of my PR. Does this need release notes, or should I just add the label to push it without? |
|
Please add a one-liner to docs/release-notes/.FSharp.Compiler.Service/10.0.100.md , that will do it 👍 |
|
@ThobiWanKenobi: Thank you and congrats to your first F# compiler PR! |
|
Thank you! :D This is also my first open source contribution in general! I learned so much from this experience! I will probably be back in not too soon! |
|
Lovely to read that. Eagerly waiting to seeing you soon 👍 :)) |
@ThobiWanKenobi Awesome job. |
Description
This PR enables displaying external metadata for enum fields in the decompiled view.
Previously, enum fields (e.g.
System.DateTimeKind.Utc) would not include their associated XML documentation in metadata view.This change ensures that the documentation is correctly surfaced.
The PR also adds a test to cover a simple enum from the
Systemnamespace.Fixes # (issue, if applicable)
Skaermoptagelse.2025-07-30.211243.mp4
Checklist
Test cases added
Performance benchmarks added in case of performance changes
Release notes entry updated: