Code:

import std;

shared(string[string]) dict;

void main()
{
    dict.keys;
}

Error:

/dlang/dmd/linux/bin64/../../src/druntime/import/object.d(3417): Error: cannot implicitly convert expression aa of type shared(string[string]) to const(shared(string)[string]) onlineapp.d(7): Error: template instance `object.keys!(shared(string[string]), shared(string), string)` error instantiating

Before D 2.087 it compiled - is this a regression?

Reply via email to