bugGNU Octave - Bugs: bug #55476, SuperClassList property of...

 
 

bug #55476: SuperClassList property of meta.class should have capitalization "SuperclassList"

Submitter:  Andrew Janke <apjanke>
Submitted:  Mon 14 Jan 2019 10:42:45 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  WTF, Matlab?!?
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 17 Sep 2019 08:21:29 PM UTC, comment #3: 

I checked in a fix here https://hg.savannah.gnu.org/hgweb/octave/rev/40fc49d73ce2.  Marking as fixed and closing report.

Rik <rik5>
Group administrator
Fri 29 Mar 2019 04:44:02 PM UTC, comment #2: 

Matlab, at least, has updated their documentation (https://www.mathworks.com/help/matlab/ref/meta.class.html).  They now show the lowercase "SuperclassList" as being the name of the property.

Rik <rik5>
Group administrator
Sat 19 Jan 2019 06:19:09 PM UTC, comment #1: 

They can't even document their own code correctly?  WTF?

Yes, Octave should have an alias to "SuperclassList" and we should also probably deprecate SuperClassList.

Rik <rik5>
Group administrator
Mon 14 Jan 2019 10:42:45 PM UTC, original submission:  

In Octave, `meta.class` exposes the superclass list in the property "SuperClassList". This matches the Matlab documentation at https://www.mathworks.com/help/matlab/ref/meta.class.html.

But the actual Matlab behavior differs from the documentation: Matlab's `meta.class` has a "SuperclassList" property with a lower-case "c".

Could Octave's meta.class add a "SuperclassList" alias for Matlab compatibility?

Andrew Janke <apjanke>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by apjanke (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-09-17 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2019-03-29 rik5 Release4.4.1 dev
        SummarySuperClassList capitalization issue SuperClassList property of meta.class should have capitalization "SuperclassList"
    2019-01-19 rik5 Item GroupMatlab Compatibility WTF, Matlab?!?
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code