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

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

[Octave-bug-tracker] [bug #49421] Can't set properties in a subclass aft


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #49421] Can't set properties in a subclass after chaining constructors in base class
Date: Fri, 28 Oct 2016 23:36:27 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #9, bug #49421 (project octave):

The exact error from Matlab when trying to call a base class constructor
within itself:


When constructing an instance of class 'derived', the constructor must
preserve the class of the returned object


So this is flagged an error in Matlab, in Octave it's permitted but gives
questionable results, I think we can consider that working correctly for now.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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