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

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

[Octave-bug-tracker] [bug #60123] method methods and ismethod silently c


From: Ernst Reissner
Subject: [Octave-bug-tracker] [bug #60123] method methods and ismethod silently changed: includes constructors now
Date: Mon, 1 Mar 2021 14:16:41 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36

Follow-up Comment #15, bug #60123 (project octave):

John, I never treated anyone here without respect. 
I am sorry, i am responsible for some shift in focus in this report. 

Back to documentation: 

    List the names of the public methods for the object OBJ or the
     named class CLASSNAME.


better to mention constructors, 
as in older versions there was a function `constructors`, 
believe it or not. 
Suggestion: 

    List the names of the public methods and constructors 
    for the object OBJ or the named class CLASSNAME.

At least this is so for java. 
It is also so for matlab, just a note. 


If the optional argument "-full" is given then Octave returns full
     method signatures which include output type, name of method, and
     the number and type of inputs.


At least for java also checked exceptions belong to the signature and they are
given also. 


Well belive it or not, i saw octave display more than that. 
I remember final and static mofifier at least. 
As mentioned below, matlab displays more, more modifiers 
and a comment whether the method is inherited. 
If you need deteils, find below in links within some of my comment. 
Also for java there is a defined set of modifiers belonging to the signature.

Of course, public is not displayed as methods displays public mehtods and
constructors only anyway. 
But this goes beyond documentation. 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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