-
Notifications
You must be signed in to change notification settings - Fork 158
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
Unit returning functions yield warning #936
Comments
Can you reproduce this with the latest main? |
Same result with v20.0.1 |
I appreciate your response, but my question was specific to the latest update. The main branch received an update to the F# compiler yesterday, and I'm curious if the issue persists with this new version. |
Not yet available at nuget, after a local build it appeared that the result is the same for 21.0.0-beta-003. |
I noticed this warning comes from this line. I'd be happy to accept a PR to check whether the parameter type is unit or not. Would you be interested in submitting a PR for this? |
Fixing issue Unit returning functions yield warning #936
For functions to be documented that return unit, a warning is returned: a parameter is missing a name.
Using fsdocs 19.1.1
The code:
fsdocs output:
Same warning is produced for any public function with XML comments that returns unit.
The text was updated successfully, but these errors were encountered: