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

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

[Octave-bug-tracker] [bug #42735] subclass inheritence: symbol ops (e.g.


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #42735] subclass inheritence: symbol ops (e.g., plus, mtimes) do not respect superiorto
Date: Sun, 23 Apr 2017 18:33:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #11, bug #42735 (project octave):

The parser is already handling and storing all of the information from calls
to inferiorto, superiorto, and the classdef InferiorClasses property. These
bits just need to be used when determining how to dispatch function and method
calls.

Look at the metaclass to verify that all of the class properties have been
parsed correctly


>> d = D;
>> metaclass(d).Name
ans = D
>> metaclass(d).InferiorClasses{1}.Name
ans = A


I would first test all of the examples posted on this bug report from 2014 on
the current default branch, because several changes have been made to how
method dispatch and overloading is implemented. Then decide what is working
and what still needs to be completed, both for old classes and classdef
classes.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42735>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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