Mercurial > octave
view test/bug-48693/bug-48693.tst @ 31652:a18897e4c7b5
classdef: call subsref method with correct nargout value (bug #48693)
* /libinterp/octave-value/ov-classdef.cc (octave_classdef::subsref): Correct
the nargout value for classdef subsref calls by checking the number of values
the indexing argument addresses, using the same code used by the non-classdef
subsref method.
* /test/bug-48693/bug-48693.tst, bug48693.m, module.mk: Add simple test
function files to verify subsref behavior.
author | Fernando Alvarruiz <feralber@upvnet.upv.es> |
---|---|
date | Wed, 07 Dec 2022 22:37:28 -0500 |
parents | |
children |