Insertion of struct() in a non-empty struct crashes Scilab
Reported by Stéphane MOTTELET (@mottelet)
BUG DESCRIPTION:
----------------
Insertion of struct() in a non-empty struct crashes Scilab
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
x.a = 1;
x(:) = struct();
OTHER INFORMATION:
------------------
Under Scilab 5.5.2, we have this strange behavior:
-->x.a=1; x=[x x], x(1)=struct()
x =
1x2 struct array with fields:
a
x =
1x2 struct array with fields:
a
I would rather expect deletion of x(1), as with the syntax
-->x(1)=[]
x =
a: 1