-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Issue 434: Fixed imprecise cref
s in XML Docs
#485
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
The test failure seems odd, given that there are no functional changes in this PR. |
@@ -15,6 +15,7 @@ | |||
using Microsoft.ML.Runtime.Tools; | |||
using System.Threading; | |||
using System.Threading.Tasks; | |||
using Microsoft.ML.Runtime.Command; |
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.
Order
@@ -350,7 +350,7 @@ public static void AddMultWithOffset(ref VBuffer<Float> src, Float c, ref VBuffe | |||
/// Perform in-place scaling of a vector into another vector as | |||
/// <c><paramref name="dst"/> = <paramref name="src"/> * <paramref name="c"/></c>. |
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 wonder why we have this depricated folder. Can you please check if the functions in here have any references?
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.
They certainly do. I have no idea why this was put into deprecated, maybe @Ivanidzo4ka knows.
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.
It is also spelled as "Depricated" :(
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.
as an responsible adult I would totally push my fault on shoulders of others. It appears to have been this way in the migrated codebase for some years, for no particular reason.
In reply to: 199894576 [](ancestors = 199894576)
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.
Sounds legit.
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 do not object to the change per se, but I wonder if we can have a policy if whether Rider support is actually a goal of this project, especially when it appears that the problem is that they have a bug with their doc comment parser. (Or else, VS is too permissive.) It's not immediately obvious to me that it should be a goal.
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.
The build should be updated to validate these at the same time the change is made. I can assist with this but wanted to mark the PR as soon as I noticed.
Good point. I'd say no to that. As long as our builds work from the command line on all the platforms we target, we can stay out of the business of recommending or "supporting" tools. What tool do we use to render API docs? If that tool can properly link the
I don't know enough about the rules for XML Docs. From what I understand from the warnings I got, we have two kinds of fixes in this PR:
Hence, I currently believe that this PR is rooted in VS being more permissive than Rider / ReSharper. |
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.
After further review, documentation comments are already validated during the build, and none of the locations changed by this pull request are ambiguous or problematic for the compiler. If a tool is failing to correctly read these references in source code, a bug should be filed for that tool because there is no validation we can automatically perform to ensure the comments stay "correct" with respect to those bugs in the future.
@markusweimer helped narrow down the sources of behavior differences. I'm now neutral on this pull request (it's implemented correctly even if it's not required by the compiler), but believe that the specific changes in #499 are important to avoid problems as development progresses. 📝 Since I'm not a core reviewer on this repository, GitHub does not allow me to dismiss my previous "request changes". It's not a blocking review either way, but please consider it effectively dismissed. |
@codemzs are your comments resolved? |
This fixes a couple of dangling `cref` in the XML Docs. This commit doesn't contain functional changes to the code. Issue: This closes dotnet#434
I have done a rebase and addressed @codemzs's comments. |
@codemzs, @TomFinley, @sharwell How shall this proceed? Can it be merged? |
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.
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.
This fixes a couple of dangling `cref` in the XML Docs. This commit doesn't contain functional changes to the code. Issue: This closes dotnet#434
This fixes a couple of dangling
cref
in the XML Docs. This commit doesn't contain functional changes to the code.Issue:
This closes #434