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

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

[Octave-bug-tracker] [bug #47680] classdef @ operator to overrided super


From: Julien Bect
Subject: [Octave-bug-tracker] [bug #47680] classdef @ operator to overrided superclass methods
Date: Thu, 7 Feb 2019 02:46:17 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #10, bug #47680 (project octave):

In my opinion this is a general feature of Matlab OOP, not a special syntax
from this particular syntax.

What I mean is that

obj.XXXX (args, ...)

is supposed to be equivalent to

XXXX (obj, args ...)

for any method XXXX.  Taking XXXX to address@hidden yields (A) and (B) in
Comment #9.

https://fr.mathworks.com/help/matlab/matlab_oop/specifying-methods-and-functions.html

The only special thing here is that address@hidden is only visible from
method in the subclass.

https://fr.mathworks.com/help/matlab/matlab_oop/calling-superclass-methods-on-subclass-objects.html

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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