https://issues.dlang.org/show_bug.cgi?id=22371
Issue ID: 22371
Summary: wrong type in error on failed implicit conversions to
ndims static arrays
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: diagnostic
Severity: minor
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
for
```
string[2][2] s = [["wxc"]];
```
DMD complains that it
> cannot implicitly convert expression `[["wxc"]]` of type `string[][]` to
> `string[2][]`
but it should rather say that
> cannot implicitly convert expression `[["wxc"]]` of type `string[][]` to
> `string[2][2]`
--