[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62639] inputParser fails to add Optional argu
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #62639] inputParser fails to add Optional argument with empty cell default value |
Date: |
Tue, 5 Jul 2022 11:04:21 -0400 (EDT) |
Update of bug #62639 (project octave):
Status: Ready For Test => Confirmed
_______________________________________________________
Follow-up Comment #6:
It still seems there is a problem. Using the original test code with current
dev branch of Octave I get
-
octave:10> p = inputParser;
octave:11> p.addOptional('opt',{});
octave:12> p.parse('opt', 'xxx')
error: argument 'XXX' is not a valid parameter
error: called from
error at line 615 column 7
parse at line 500 column 13
The original error, "error: value on right hand side of assignment is
undefined", which was generated by the second line of code has been fixed.
The new error is generated by the third line of code. Matlab executes this
code just fine.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62639>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62639] inputParser fails to add Optional argument with empty cell default value,
Rik <=