tree_show(s): void elements in embedded list() are replaced with the last existing element
@sgougeon)
Reported by Samuel GOUGEON (bug_16121.png (24.33 KB, image/png)
Elements #2, 4 and 6 are unexpected duplicates (actually void)
BUG DESCRIPTION:
----------------
tree_show(s): void elements in embedded list() are replaced with the last existing element.
--> s = list(%pi,,list("a",%f),,"abc",,%i);
--> tree_show(s)
==> See the attached screenshot of the tree
ERROR LOG:
----------
none. Wrong display
HOW TO REPRODUCE THE BUG:
-------------------------
s = list(%pi,,list("a",%f),,"abc",,%i);
tree_show(s)
OTHER INFORMATION:
------------------
In Scilab 5.5.2, an error occurred:
-->s = list(%pi,,"abc");
-->tree_show(s)
!--error 4
Undefined variable: o
at line 16 of function crlist3 called by :
at line 45 of function tree_show called by :
tree_show(s)