[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref()
From: |
Fernando |
Subject: |
[Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods |
Date: |
Fri, 7 Apr 2023 09:22:58 -0400 (EDT) |
Follow-up Comment #23, bug #63841 (project octave):
Yet another update for the patches, to consider some corner cases which
errored before the patch and I think they should continue to error. In
particular:
octave:1> A=tst_nargout;
octave:2> 1+A(1:3).prop
nargout=3, s(1).type = ()
error: binary operator '+' not implemented for 'scalar' by 'cs-list'
operations
octave:3> A(1:3).prop+1
nargout=3, s(1).type = ()
error: binary operator '+' not implemented for 'cs-list' by 'scalar'
operations
octave:4> A(1:3).prop+A(1:3).prop
nargout=3, s(1).type = ()
nargout=3, s(1).type = ()
error: binary operator '+' not implemented for 'cs-list' by 'cs-list'
operations
I have updated the patch for the tests also, to be applied on top of @arb's
patch (file #54523).
Both patches have been generated with `hg diff`. Let me know if you want me to
generate any of them with `hg export`.
(file #54577, file #54578)
_______________________________________________________
Additional Item Attachment:
File name: bug-63481-fix4.diff Size:8 KB
<https://file.savannah.gnu.org/file/bug-63481-fix4.diff?file_id=54577>
File name: bug-63481-tests3.diff Size:3 KB
<https://file.savannah.gnu.org/file/bug-63481-tests3.diff?file_id=54578>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63841>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/01
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/02
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, A.R. Burgers, 2023/04/02
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/03
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/03
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, A.R. Burgers, 2023/04/04
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/04
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/06
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/06
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods,
Fernando <=
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/07
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, A.R. Burgers, 2023/04/10
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, A.R. Burgers, 2023/04/13
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, John W. Eaton, 2023/04/13
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Markus Mützel, 2023/04/13
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/13
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, John W. Eaton, 2023/04/13
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/13
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, Fernando, 2023/04/13
- [Octave-bug-tracker] [bug #63841] nargout is always 0 or 1 for subsref() in classdef methods, A.R. Burgers, 2023/04/13