AlanThinker:

It seems that, D's array is strange,
It can implicit convert static arrays to dynamic arrays no error and no warning.
But when I return the converted arrays out the function.
Outside function will get some wrong data.

It may very easily cause some bug because no error when convert static arrays to dynamic arrays.

Yeah, what do you suggest to change in the language to avoid this problem?

Bye,
bearophile

Reply via email to