Class Objects Usage

Michael Goffioul michael.goffioul at gmail.com
Tue Jul 8 14:21:59 CDT 2008


On Tue, Jul 8, 2008 at 9:10 PM, Michael Goffioul
<michael.goffioul at gmail.com> wrote:
> I can reproduce the problem. I'll have a look.

I debugged a little bit with my code, which corresponds to the graphics
archive (not the latest octave archive, but quite close). The problem is
that in Fclass, fcn->is_class_constructor() returns false (I use the same
polynom example). At that point, fcn is actually the "class" function of
type octave_builtin, while I think the expected value is the "polynom"
function. I stepped into the previous octave_call_stack::caller() call and
it appears that the callstack contains 2 elements:
[0]: polynom
[1]: class
and octave_call_stack::caller() actually returns the second one.

Might this be related to the uncommited change in octave_call_stack
that you mentioned in another mail?

Michael.


More information about the Octave-maintainers mailing list