bugGNU Octave - Bugs: bug #38286, fdisp not working for legacy OO...

 
 

bug #38286: fdisp not working for legacy OO classes (@class interface)

Submitted by:  Rik <rik5>
Submitted on:  Fri 08 Feb 2013 05:57:56 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 08 Feb 2013 06:08:27 PM UTC, comment #1:

I think this is partly a duplicate of #38261

John W. Eaton <jwe>
Project Administrator
Fri 08 Feb 2013 05:57:56 PM UTC, original submission:

The @class interface calls the function @class/display.m when it needs to display an object of @class. This works fine when the output is to stdout. When the output is to a different file handle, such as when using fdisp, the output still goes to the screen and the file is left empty.

I've attached a tar file with a sample class and test script which illustrates the problem.

Matlab talks about overloading not only display(), but also disp(). It's unclear whether even that will be enough in this case.

Rik <rik5>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27423:  fdisp_obj_tst.tar added by rik5 (6kB - application/x-tar)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 08 Feb 2013 06:07:25 PM UTCrik5StatusNone=>Duplicate
    Fri 08 Feb 2013 06:07:05 PM UTCrik5Dependencies-=>Depends on bugs #38261
    Fri 08 Feb 2013 05:57:56 PM UTCrik5Attached File-=>Added fdisp_obj_tst.tar, #27423

    Back to the top


    Powered by Savane 3.1-cleanup