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

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

[Octave-bug-tracker] [bug #44390] methods (object): Only displays method


From: Oliver Heimlich
Subject: [Octave-bug-tracker] [bug #44390] methods (object): Only displays methods of subclass
Date: Sat, 28 Feb 2015 21:32:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.4.0

URL:
  <http://savannah.gnu.org/bugs/?44390>

                 Summary: methods (object): Only displays methods of subclass
                 Project: GNU Octave
            Submitted by: oheim
            Submitted on: Sa 28 Feb 2015 22:32:26 CET
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Oliver Heimlich
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: Any

    _______________________________________________________

Details:

Accoring to the documentation, methods (OBJ) should return “methods for the
object OBJ”. When OBJ is an instance of class C and class C inherits class
P, any methods from class P are ommitted in the output unless they are
overriden in class C.

Expected result: methods (OBJ) returns a union of methods from classes C and
P.

Example (use 3.8.2 or dev branch): With the interval package you can call
“methods (infsupdec)”. The method “sup” from the base class infsup is
missing. The overridden method “round” is present.

Either the result should be fixed or the documentation should clarify that
methods (OBJ) actually returns methods from the class and not all methods for
the object.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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