Skip to content
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

Report function shadowing #83

Open
gkaguirre opened this issue Feb 13, 2018 · 1 comment
Open

Report function shadowing #83

gkaguirre opened this issue Feb 13, 2018 · 1 comment

Comments

@gkaguirre
Copy link

Functions in Installed toolboxes may shadow either Matlab toolboxes, or one installed toolbox may shadow components of other installed toolboxes.

A useful enhancement for TbTb would be to have it report when a function in an installed toolbox has shadowed either the matlab version or the version in another toolbox. A flag could be set to over-ride this reporting if the user wished.

This function (UniqueFuncNames) on matlab central reports all shadowed functions:
https://www.mathworks.com/matlabcentral/fileexchange/27861-uniquefuncnames

The report that this function produces includes many, many examples of functions in matlab toolboxes shadowing each other. Perhaps this UniqueFuncNames could be modified to exclude these collisions.

@gkaguirre
Copy link
Author

A very fancy enhancement would be the ability to specify, within the json file for toolbox, the identities of functions that are intentionally shadowing matlab built-in (or other) functions, and thereby silence reporting of those collisions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant