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

Iain Buclaw <ibuc...@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuc...@gdcproject.org

--- Comment #1 from Iain Buclaw <ibuc...@gdcproject.org> ---
The ICE itself occurs when druntime 2.076 is being pulled in by a dmd 2.100
compiler.

Minimal object.d:
---
module object;

alias size_t = typeof(int.sizeof);
class Object
{
}

auto opEquals(Object )
{
}

class TypeInfo
{
}

class TypeInfo_Const {
}

bool _xopEquals()
{
}

bool __equals(T1, T2)(T1[] lhs, T2[] rhs)
{
    static at(R)(R[] r, size_t i) { return r.ptr[i]; }
    foreach (u; 0 .. lhs.length)
        if (at(lhs, u) != at(rhs, u))
            return ;
}
---

--

Reply via email to