Comment #0 by bearophile_hugs — 2015-01-28T14:45:27Z
Related to Issue 481
Given the recent improvements for type inference for arrays (https://github.com/D-Programming-Language/dmd/pull/3615 ), I think it can be handy to also support:
void main() {
int[2][] m = [[1, 2], [3, 4], [5, 6]];
foreach (auto[2] a; m) {}
foreach (int[$] a; m) {}
}
Comment #1 by robert.schadek — 2024-12-13T18:39:38Z