[Issue 23097] [REG 2.100] ArrayIndexError at src/dmd/mtype.d(4767): index [18446744073709551615] is out of bounds for array of length 0

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 9 14:05:40 UTC 2022


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

--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject.org> ---
This is a fail_compilation reduction.
---
auto ice23097(I)(I)
{
    ICE;
}

struct Cpctor23097
{
    this(ref typeof(this) )
    {
    }
}

struct S23097
{
    Cpctor23097 cpctor;
}

auto fail23097(S23097 s)
{   
    s.ice23097;
}
---

--


More information about the Digitalmars-d-bugs mailing list