[Top][All Lists]

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

[Octave-bug-tracker] [bug #49169] overriding @super/class method, builti

From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #49169] overriding @super/class method, builtin class can't be called from @sub/sub constructor
Date: Tue, 27 Sep 2016 18:31:57 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #4, bug #49169 (project octave):

I agree that should be expected behaviour (I have also not tested on Matlab).

But what might be expected to work is the following change to your MWE:

 function x = foo()
   x.value = bar;
-  x = class (x, "foo", bar);
+  x = builtin ("class", x, "foo", bar);

(at least I read "help builtin" and I expected that to work).


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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