|
From: | Richard |
Subject: | [Octave-bug-tracker] [bug #53956] Delete function incorrectly called twice for subclass |
Date: | Mon, 21 May 2018 09:58:37 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/65.0.3325.181 Chrome/65.0.3325.181 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?53956> Summary: Delete function incorrectly called twice for subclass Project: GNU Octave Submitted by: crobar Submitted on: Mon 21 May 2018 01:58:35 PM UTC Category: Interpreter Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Richard Crozier Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: GNU/Linux _______________________________________________________ Details: If you have a class hierarchy like: handle -> subclass -> subsubclass where subclass implements a delete method, this delete method is incorrectly called twice when a subsubclass object is destroyed. See attached files for an example (and here's a command line example showing the same issue, using these files). >> x = reproduce_delete_issue_3 () x = <object reproduce_delete_issue_3> >> clear x Called delete Called delete _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 21 May 2018 01:58:35 PM UTC Name: reproduce_delete_issue_2.m Size: 244B By: crobar <http://savannah.gnu.org/bugs/download.php?file_id=44189> ------------------------------------------------------- Date: Mon 21 May 2018 01:58:35 PM UTC Name: reproduce_delete_issue_3.m Size: 149B By: crobar <http://savannah.gnu.org/bugs/download.php?file_id=44190> ------------------------------------------------------- Date: Mon 21 May 2018 01:58:35 PM UTC Name: reproduce_delete_issue_script.m Size: 43B By: crobar <http://savannah.gnu.org/bugs/download.php?file_id=44191> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53956> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |