|
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); endfunction -verbatim+ (at least I read "help builtin" and I expected that to work). _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49169> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |