[Top][All Lists]

[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 18:47:02 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Update of bug #49421 (project octave):

                  Status:               Need Info => Invalid                
             Open/Closed:                    Open => Closed                 


Follow-up Comment #8:

pipeng: I'm not sure what you are running, but the example for me does the
same as the original sym/symfun example:

>> class (derived (1))
ans = base

This is with the single subsasgn() call commented out, which normally causes
the error.

Abhinav, re comment #7: This is from testing in Matlab, right?

I think that what you suggest is a really bad workaround for a few reasons,
and I think Colin would agree, but we can discuss that on the octsympy issue

So it seems that there is no Octave bug here, we are compatible with Matlab,
and it's just bad practice to have a classdef-based constructor call itself if
you are planning on subclassing that object.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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