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:47:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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

In Colin's original example of two old-style classes that are not related by
inheritance, the only thing that needs to be implemented is calling the
correct operator method. I already pointed to the relevant lines of code in
comment #3, this is still valid and I believe the correct place to solve
this.

I haven't looked at all into how much work is needed on the classdef side, but
the parser work seems to have been done a long time ago, the properties are
already parsed and stored in the metaclass, that information just needs to be
used elsewhere, probably passed on to the symbol table the way it is done
currently in the inferiorto and superiorto functions.

    _______________________________________________________

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]