reject octave script with use-before-declaration #236
Labels
component: parser
Affects the parser
requires: sem
Change can only be implemented once semantic analysis works
tool: mh_lint
Affects the linter
What kind of feature is this?
Flag sub-functions in scripts
Your MATLAB/Octave environment
Octave 4.2.2 and 5.1.0
MISS_HIT component affected
linter ?
Describe the solution you'd like
A rare case again but as matlab (at least the 2017b I am using now) is fine with this, it might be good to keep track of it?
Note that matlab will complain if the filename of the script is the same as that of one of the sub functions in that script.
A script with the following content will annoy Octave.
The text was updated successfully, but these errors were encountered: