bugGNU Octave - Bugs: bug #62804, "help class.method"...

 
 

bug #62804: "help class.method" cannot access old-style class methods

Submitter:  Colin Macdonald <cbm>
Submitted:  Sun 24 Jul 2022 04:49:23 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 24 Jul 2022 05:34:48 AM UTC, comment #3: 

Also related: bug #55890.

Colin Macdonald <cbm>
Sun 24 Jul 2022 05:00:31 AM UTC, comment #2: 

Perhaps is a dupe of bug #61521

Colin Macdonald <cbm>
Sun 24 Jul 2022 04:53:04 AM UTC, comment #1: 

Forgot to mention, same results with 6.4.0, 7.1.0 and tip.

Colin Macdonald <cbm>
Sun 24 Jul 2022 04:49:23 AM UTC, original submission:  

"help class.method" works nicely with classdef but not well with old-style classes.

This can be tested with the Symbolic package (which uses only old-style classes for now) where "help @sym/isNone" shows the right thing but "help sym.isNone" just shows the same as "help sym".

If helpful, I can make a MWE.

- - - -

There are some other strange cases: e.g., "help sym.symvar" shows the same thing as "help symvar", it even says:


'sym.symvar' is a function from the file /home/cbm/.octavehg/share/octave/8.0.0/m/miscellaneous/symvar.m

...


I've been happy using "@class/method" but there are various problems with this syntax in the classdef context such as bug #48041.  But its hard to switch if one has to use different syntaxes for old-style or classdef classes (users should not need to be aware of which is which).  There is also a matlab compatibility argument for supporting the dotted notation.

Colin Macdonald <cbm>

 

(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 cbm (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 project members can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12