|
| From: | Mike Miller |
| 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:44:35 +0000 (UTC) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Follow-up Comment #7, bug #49169 (project octave):
The end of your comment was cut off by markup processor:
function x = foo()
x.value = bar;
- x = class (x, "foo", bar);
+ x = builtin ("class", x, "foo", bar);
endfunction
Yes, maybe that should work. The simple check in place now only makes sure
that the direct caller in the call stack is a class constructor.
_______________________________________________________
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] |