MatlabCodeAnalyzer icon indicating copy to clipboard operation
MatlabCodeAnalyzer copied to clipboard

Ignore varargin in documentation and builtin

Open ssordopalacios opened this issue 6 years ago • 3 comments

When a function has a varargin input argument, the code analyzer will warn that varargin is not mentioned in the documentation and shadows a built-in.

It seems to me that because of the special nature of varargin, it should not have to appear in the documentation and that by construction it would shadow the built-in.

ssordopalacios avatar Sep 11 '19 16:09 ssordopalacios

Thank you for finding this bug!

Would you like create a pull request that fixes it?

bastibe avatar Sep 12 '19 09:09 bastibe

I'll make the changes soon and create the pull request.

ssordopalacios avatar Sep 13 '19 19:09 ssordopalacios

Thank you! I'll look forward to it.

bastibe avatar Sep 16 '19 07:09 bastibe