[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55856] subsref called in a subscripted assign

From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #55856] subsref called in a subscripted assignment operation
Date: Tue, 15 Sep 2020 00:51:49 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #1, bug #55856 (project octave):

Are there instances where subsref should be called?  For example, if the LHS
of the assignment includes "end", maybe like this:

obj.data (end) = 1;

What happens if the class defines an "end" method?

In a case like above, what is responsible for setting things up so that "end"
will be called with the correct object and index info?

Does the behavior change if there is a subsref method but no subsasgn method
(I hope not)?


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]