[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53844] handle class: delete destructor method
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties |
Date: |
Fri, 11 May 2018 19:26:04 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #8, bug #53844 (project octave):
Yeah, it doesn't even have to be a method, and the function doesn't even have
to access the object at all, it just has to be on the argument list. So this
is probably down in the evaluator, and something to do with the object being
destroyed affecting the result of the overall expression.
function r = somefunc (varargin)
r = 12
endfunction
## No semicolon on the assignment so it's obvious that r is set
>> x = dummy;
>> somefunc (x)
r = 12
ans = 12
>> somefunc (pi)
r = 12
ans = 12
>> somefunc (pi, x)
r = 12
ans = 12
>> somefunc (pi, dummy)
r = 12
>>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53844>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, anonymous, 2018/05/05
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, Rik, 2018/05/05
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, Mike Miller, 2018/05/09
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, John W. Eaton, 2018/05/11
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, Mike Miller, 2018/05/11
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, Mike Miller, 2018/05/11
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, Mike Miller, 2018/05/11
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, Rik, 2018/05/11
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties,
Mike Miller <=
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, John W. Eaton, 2018/05/12
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, John W. Eaton, 2018/05/13
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, John W. Eaton, 2018/05/13
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, John W. Eaton, 2018/05/14
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, Mike Miller, 2018/05/14
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, Mike Miller, 2018/05/14
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, John W. Eaton, 2018/05/14
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, Mike Miller, 2018/05/14
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, Mike Miller, 2018/05/14
- [Octave-bug-tracker] [bug #53844] handle class: delete destructor method cannot access class properties, John W. Eaton, 2018/05/14