On Saturday, 11 June 2022 at 15:01:05 UTC, Ali Çehreli wrote:
On 6/11/22 00:09, z wrote:> I rechecked and it should be `X Y Z` for static array, but `Z Y X` for > indexing/dynamic array creating with `new` How so?
i meant with the syntax in (1), the spec's documentation appears to say they are equivalent in result with `new *type*[X][Y]` form.
(1) https://dlang.org/spec/expression#new_multidimensional (3. multiple argument form)