|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties |
Date: | Sun, 13 May 2018 10:33:26 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #10, bug #53844 (project octave): The attached patch is the best I've come up with so far. It will defer deletion of temporary objects created as part of argument list evaluation until the end of the containing statement. In this patch, all temporary objects are preserved. It would be better to only hold on to classdef handle objects, but I don't see a way to check whether an octave_value object is a classdef handle object. We can add that, but it will change interfaces. We could make this fix on stable and the better one on default. (file #44147) _______________________________________________________ Additional Item Attachment: File name: diffs.txt Size:4 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53844> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |