Invalid error for keyword arguments
#290
Labels
bug: minor
Something isn't working
component: parser
Affects the parser
difficulty: high
This change will be tricky or large
MISS_HIT Component affected
Please choose one from:
Your MATLAB/Octave environment
Your operating system and Python version
Describe the bug
The file
gives the error
which should not be the case because it is allowed to have variables called
arguments
as long as the keyword does not appear as the first expression in the function body (a = 0;
makes the difference here between invalid Matlab syntax and correct code).The text was updated successfully, but these errors were encountered: