Mercurial > octave
view test/fcn-handle/bug51567.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 | 5bca1527b034 |
children |
line wrap: on
line source
classdef bug51567 < handle properties fh1; fh2; endproperties methods function obj = bug51567 (self) obj.fh1 = str2func ("bar"); obj.fh2 = @baz; endfunction function r = bar (obj) r = 13; endfunction function r = baz (obj) r = 42; endfunction function r = doit_1 (obj) r = obj.fh1 (); endfunction function r = doit_2 (obj) r = obj.fh2 (); endfunction endmethods endclassdef