[Issue 17607] not an associative array initializer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 3 03:36:40 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=17607

--- Comment #7 from Steven Schveighoffer <schveiguy at gmail.com> ---
This is most definitely a bug:

```d
// int[char][char] arr = ['A' : ['B': 0]]; // error
              auto arr = ['A' : ['B': 0]]; // ok
pragma(msg, typeof(arr)); // int[char][char]
```

--


More information about the Digitalmars-d-bugs mailing list