-
Notifications
You must be signed in to change notification settings - Fork 15
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
Check for if if parameters don't match comment #26
Comments
Parsing the interface/template header might also help inferring the kind of the parameter (type, type or type attribute (some interfaces support passing an attribute some don't), role, role or role attribute, textual prefix, ...) to improve the understanding of the policy. Also inferring the number of parameters can help finding irregular calls (too few/many used) or unused parameters in the interface/template itself. |
With the exception of "unused parameters in the interface/template itself", I think we could also infer all of those situations from the contents of the interface? In general, the documentation comments seem to be in extremely poor shape, so I'd be inclined to treat a difference between the comment and the actual behavior of the interface as a bug in the comment rather than vice versa. |
One major obstacle of inferring is the common usage of macros in interfaces, e.g. |
No description provided.
The text was updated successfully, but these errors were encountered: