bugGNU Octave - Bugs: bug #48041, classdef: `help myclass` messes up...

 
 

bug #48041: classdef: `help myclass` messes up `help @myclass/method`

Submitted by:  Colin Macdonald <cbm>
Submitted on:  Fri 27 May 2016 08:48:30 PM UTC  
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 29 May 2016 04:44:11 PM UTC, comment #1: 

Confirmed here, calling the class constructor, as opposed to `help foo`, also masks the help on any other methods.

Mike Miller <mtmiller>
Project Administrator
Fri 27 May 2016 08:48:30 PM UTC, original submission:  

`help` interacts badly with classdef-style classes.  After I do `help classname`, I cannot access the help of any methods (except ones I accessed before `help classname`.

>> help pyobject
error: help: 'pyobject' is not documented
>> help @pyobject/display
error: help: '@pyobject/display' is not documented
>> help @pyobject/dummy
error: help: '@pyobject/dummy' is not documented

("@pyobject/dummy" is documented).

But if I restart Octave and try the commands in a different order:

>> help @pyobject/display
'@pyobject/display' is a function from the file /home/cbm/src/pytave.hg.mine/@pyobject/display.m

-- Method on @pyobject: display (X)
     Custom display for pyobjects.

  ---- 8< -----

>> help pyobject
error: help: 'pyobject' is not documented
>> help @pyobject/dummy
error: help: '@pyobject/dummy' is not documented

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

Digest:
   bug dependencies.

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-19 pantxo Dependencies- => bugs #52058 is dependent
    2016-05-29 mtmiller StatusNone => Confirmed
    2016-05-27 cbm Carbon-Copy- => Added mtmiller
        Carbon-Copy- => Added goffioul

    Back to the top


    Powered by Savane 3.5