|
| From: | Andrew Janke |
| Subject: | [Octave-bug-tracker] [bug #55983] 'x(ix) = []' deletion syntax does not work for objects |
| Date: | Sun, 24 Mar 2019 11:51:53 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36 |
Follow-up Comment #4, bug #55983 (project octave):
> MyDumbClass has no subsasgn: isn't that involved in making this work?
It shouldn't be. There should be a default implementation that works like it
does for structs. Overriding subsasgn and related methods should only be
necessary if you have a custom internal array representation, for example, if
you're writing a planar-organized object.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55983>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |