tree_show() is broken for containers including some cells
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
tree_show() is broken for cells or containers including some cells.
This comes from the fact that cells arrays are no longer mlists and getfield() no longer applies to them.
--> clear c s
--> c = makecell([1 2],"abc",%t);
--> tree_show(c)
at line 5 of function crlist3 ( SCI\modules\data_structures\macros\tree_show.sci line 78 )
at line 45 of function tree_show ( SCI\modules\data_structures\macros\tree_show.sci line 66 )
getfield: Wrong type for input argument #2: List expected.
--> s.c = c;
--> tree_show(s)
at line 5 of function crlist3 ( SCI\modules\data_structures\macros\tree_show.sci line 78 )
at line 25 of function crlist3 ( SCI\modules\data_structures\macros\tree_show.sci line 98 )
at line 45 of function tree_show ( SCI\modules\data_structures\macros\tree_show.sci line 66 )
getfield: Wrong type for input argument #2: List expected.
ERROR LOG:
----------
See above
HOW TO REPRODUCE THE BUG:
-------------------------
clear c s
c = makecell([1 2],"abc",%t);
tree_show(c)
s.c = c;
tree_show(s)
OTHER INFORMATION:
------------------
Still in 6.1.0-master