[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65876] error retrieving data from struct valu
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps |
Date: |
Fri, 14 Jun 2024 10:55:08 -0400 (EDT) |
Update of bug #65876 (group octave):
Status: None => Patch Submitted
Planned Release: None => 10.1.0 (current default)
_______________________________________________________
Follow-up Comment #11:
The attached patch implements support for `numArgumentsFromSubscript` in
overloaded `subsref` functions.
The Matlab documentation says that its return value would also be "passed to
overloaded subsasgn". But I don't know what that means.
If someone understands that or has an example, we could probably try to
implement that part in a later change.
I also don't know what the third input argument of `numArgumentsFromSubscript`
is. For the time being, it is just an empty matrix. It should be one of three
enumeration values:
https://www.mathworks.com/help/matlab/ref/numargumentsfromsubscript.html#butdgbh-1-indexingContext
This fixes the original example and the test suite still passes for me.
(file #56162)
_______________________________________________________
Additional Item Attachment:
File name: bug65876-classdef-subsref-keys-v2.patch Size: 8KiB
<https://file.savannah.gnu.org/file/bug65876-classdef-subsref-keys-v2.patch?file_id=56162>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-58d6ae7f1df5bddb2c1f57b399d076ce8b389aa2.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65876>
{savane: Include the next line when replying by email.}
{savane: user = octave-bug-tracker@gnu.org; tracker = bugs; item = 65876}
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, (continued)
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, A.R. Burgers, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, A.R. Burgers, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, John W. Eaton, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, John W. Eaton, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, Markus Mützel, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, Markus Mützel, 2024/06/13
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, Markus Mützel, 2024/06/14
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, John W. Eaton, 2024/06/14
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, A.R. Burgers, 2024/06/14
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, Markus Mützel, 2024/06/14
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps,
Markus Mützel <=
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, Markus Mützel, 2024/06/16
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, A.R. Burgers, 2024/06/20
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, Markus Mützel, 2024/06/20
- [Octave-bug-tracker] [bug #65876] error retrieving data from struct values in containers.Maps, A.R. Burgers, 2024/06/20