bugGNU Octave - Bugs: bug #43598, setter method in classdef fails if...

 
 

bug #43598: setter method in classdef fails if object is not returned

Submitter:  None
Submitted:  Thu 13 Nov 2014 10:58:24 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  goffioul
Originator Name:  Leberwurscht Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 22 Nov 2014 09:01:59 PM UTC, comment #1: 
Michael Goffioul <goffioul>
Thu 13 Nov 2014 10:58:24 AM UTC, original submission:  

Hi,

I was trying out the new classdef funcionality in the dev branch and had a problem with setter methods. According to the MATLAB documentation, it is not necessary that the setter method returns a value.
If I try to use a classdef with such a setter method in Octave, I get the following error message whereas the code works in MATLAB:

cannot convert `<unknown type>' into `object'

Anonymous

 

(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 None (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-11-22 goffioul StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2014-11-13 goffioul StatusNone Confirmed
        Assigned toNone goffioul

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code