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

 
 

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

Submitted by:  None
Submitted on:  Thu 13 Nov 2014 10:58:24 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: Michael Goffioul <goffioul>
Originator Name: LeberwurschtOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 22 Nov 2014 09:01:59 PM UTC, comment #1:

http://hg.savannah.gnu.org/hgweb/octave/rev/eb90f921bbc0

Michael Goffioul <goffioul>
Project MemberIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goffioul (Updated the item)
  • -unavailable- added by None (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Nov 2014 09:01:59 PM UTCgoffioulStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 13 Nov 2014 01:42:11 PM UTCgoffioulStatusNone=>Confirmed
      Assigned toNone=>goffioul

    Back to the top


    Powered by Savane 3.1-cleanup1