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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from [email protected] ---
(In reply to Kenji Hara from comment #5)
> https://github.com/D-Programming-Language/dmd/pull/3711

Currently:

auto s1 = "he";
auto s2 = "llo";
void main() {
    import std.stdio, std.typecons;
    alias Foo = Tuple!string;
    int[Foo] aa;
    auto f1 = Foo("hello");
    auto f2 = Foo(s1 ~ s2);
    aa[f1] = 1;
    aa[f2] = 2;
    aa.writeln;
}


Gives:

[Tuple!string("hello"):2, Tuple!string("hello"):1]

Is this patch going to help fix that?

--

Reply via email to