octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #58953] Error with 'end' in index expression w


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #58953] Error with 'end' in index expression with nested function calls
Date: Thu, 10 Sep 2020 21:38:09 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #22, bug #58953 (project octave):

What happens for the following?  Is subsref called once or twice in this
case?


obj = myclass (1:5);
obj.data (5)


Also, what happens for the following?  Is subsref called once or twice or is
this an error before the subsref methdo is called?


obj = myclass (1:5);
obj.methodA (end)


With this info, I think I have a good chance of being able to make the
behavior compatible, at least as far as I understand it.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58953>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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