[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37521] clear('functions') deletes subfunction
From: |
Jordi Gutiérrez Hermoso |
Subject: |
[Octave-bug-tracker] [bug #37521] clear('functions') deletes subfunctions |
Date: |
Tue, 18 Feb 2014 22:25:24 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 Iceweasel/26.0 |
Follow-up Comment #10, bug #37521 (project octave):
Clearing subfunctions is a very wrong thing to do. They should be on the same
footing as the parent function. Clearing functions should just clear their
persistent variables, not remove any function from the symbol table (except in
the Octave-only case of functions defined in script files instead of function
files).
The attached test case works in 3.8.0 but not in 3.6.x
(file #30600, file #30601)
_______________________________________________________
Additional Item Attachment:
File name: foo.m Size:0 KB
File name: foo.m Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37521>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/