octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43598] setter method in classdef fails if obj


From: anonymous
Subject: [Octave-bug-tracker] [bug #43598] setter method in classdef fails if object is not returned
Date: Thu, 13 Nov 2014 10:58:25 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0

URL:
  <http://savannah.gnu.org/bugs/?43598>

                 Summary: setter method in classdef fails if object is not
returned
                 Project: GNU Octave
            Submitted by: None
            Submitted on: jue 13 nov 2014 10:58:24 UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Leberwurscht
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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'




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43598>

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]