[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51534] Invoking parent class constructor in c
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #51534] Invoking parent class constructor in child constructor fails |
Date: |
Mon, 24 Jul 2017 14:29:07 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
Update of bug #51534 (project octave):
Status: Works For Me => Confirmed
_______________________________________________________
Follow-up Comment #3:
On rev 2641a0196176, this is still not working.
To be clear, with my modification, there is no error message, but the
Parent_Class constructor is still not called. Using the following
definitions:
classdef Parent_Class
properties
val
end
methods
function self = Parent_Class(val)
self.val = val;
end
end
end
classdef Child_Class < Parent_Class
methods
function self = Child_Class(val)
address@hidden(val);
end
end
end
the property val is undefined after constructing a Child_Class object.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51534>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/