September 21, 2016
https://issues.dlang.org/show_bug.cgi?id=8681

Marco Leise <Marco.Leise@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Marco.Leise@gmx.de

--- Comment #2 from Marco Leise <Marco.Leise@gmx.de> ---
(In reply to hsteoh from comment #1)
What works with the type system is to isolate the fields from C that define its
equality:

struct ImmutableCPart
{
    int x;

    size_t toHash() const {
        return typeid(int).getHash(x);
    }
    bool opEquals(const C c) const {
        return x == c.x;
    }
}

class C {
    immutable ImmutableCPart x;
    int y, z;

    this() { ... /* initialize x */ }
}

C[ImmutableCPart] lookup;

--
December 13
https://issues.dlang.org/show_bug.cgi?id=8681

--- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/18471

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--