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: Tue, 1 Nov 2016 05:42:47 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

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

This page
(https://www.mathworks.com/help/matlab/matlab_oop/object-precedence-in-expressions-using-operators.html)
suggests that if two user-defined classes are completely unrelated, the
left-hand object's method is used (which is what Octave implements today).

So the logic that is lacking here is relationships between class inheritance
(both old and new style OO), old-style superiorto/inferiorto relationships,
and new-style InferiorClasses relationships.

    _______________________________________________________

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]