Mercurial > octave
view .gitattributes @ 32215:ce1ae40de0f0 stable
subsasgn: Avoid panic on invalid field names (bug #64213).
* libinterp/octave-value/ov-struct.cc (octave_struct::subsasgn,
octave_scalar_struct::subsasgn): Throw an exception if field name is not a
string instead of panicking. Add tests.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 28 Jul 2023 16:24:32 +0200 |
parents | c6f9ff84dc84 |
children |