Is this a bug?

        int[string] aa, bb;
        bb = aa;
        aa["abc"] = 123;
        assert(bb["abc"] == 123);       // assertion fails

The following works:

        int[string] aa, bb;
        aa["def"] = 456;
        bb = aa;
        aa["abc"] = 123;
        assert(bb["abc"] == 123);       // OK


T

-- 
Don't drink and derive. Alcohol and algebra don't mix.

Reply via email to