Suppose myObject is a defined type. The following is a part of my code.
a=myObject() # calling the default constructor
b=[a]
println(length(b))
Should’t this give me 1? Because b is an array of only one element, which is a, and which is of type myObject, right?