2.068.0 regression?

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 19 15:33:22 PDT 2015


On 08/19/2015 11:26 PM, sigod wrote:
> Consider this code:
>
> ```
> struct Test
> {
>      string to;
>
>      void test()
>      {
>          import core.time;
>
>          auto value = ["to": to]; // Error: can't have associative array
> of void
>      }
> }
>
> void main() {}
> ```
>
> In 2.068.0 compilation fails. Works in 2.065 and 2.067.1.

It's a bug in local imports. This is the ticket:
https://issues.dlang.org/show_bug.cgi?id=10378


More information about the Digitalmars-d mailing list