[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51534] Invoking parent class constructor in c
From: |
Piotr Held |
Subject: |
[Octave-bug-tracker] [bug #51534] Invoking parent class constructor in child constructor fails |
Date: |
Tue, 8 Aug 2017 14:44:09 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36 |
Follow-up Comment #5, bug #51534 (project octave):
I created a patch, which doesn't have to be final. My main question is: should
the new code (past the "if else") statement actually include a check
if the called function is a superclass constructor?
I kind of assume that through the great siv that is
tree_evaluator::visit_index_expression everything else would have been dealt
with. If you guys think that I should include a check for calling the
superclass then I'll do that. If you think it should be called somewhere else,
then I'm open to that as well. If yes, then my question is: where?
I also included tests for the problem.
(file #41455)
_______________________________________________________
Additional Item Attachment:
File name: patch_bug51534_ver1.diff Size:5 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51534>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/