[Issue 23109] ICE: AssertError at src/dmd/dclass.d(449): Assertion failure
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 13 13:18:39 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23109
Iain Buclaw <ibuclaw at gdcproject.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibuclaw at gdcproject.org
--- Comment #1 from Iain Buclaw <ibuclaw at 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 ;
}
---
--
More information about the Digitalmars-d-bugs
mailing list