Mercurial > octave
view test/nest/bug_59989.m @ 31241:5ea5fe592a9a
Don't delete labels when reordering of axes children (bug #63117)
* graphics.in.h (children_property::do_set): Avoid using a temporary variable
for new children list. Rephrase error message to be more accurate.
Always return true for clarity.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Tue, 27 Sep 2022 23:30:54 +0200 |
parents | 4de13dc0eff2 |
children |
line wrap: on
line source
function y = bug_59989 () unpacker = @(x) sum (x); function y = nest1 (x, a) y = a + unpacker (x); endfunction function y = nest2 (fh) x = [2, 3]; y = fh (x); endfunction a = 1; y = nest2 (@(x) nest1 (x, a)); endfunction