undefined list elements can be of 2 distinct typeof "void" or "listundefined" according to the way they are created
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
--> L = list(,2);
--> L(4) = %t;
--> typeof(L(1))
ans =
void
--> typeof(L(3))
ans =
listundefined
All these holes should have the same typeof. "void" is shorter and more general, and should be preferred.
ERROR LOG:
----------
none. wrong attribute.
HOW TO REPRODUCE THE BUG:
-------------------------
L = list(,2);
L(4) = %t;
typeof(L(1))
typeof(L(3))
OTHER INFORMATION:
------------------
Discussion in private emails with Antoine Elias, Stéphane Mottelet, CC: Clément David and Cédric Delamarre,
on 2018-11-28 to 2018-12-10