[Issue 22729] dmd crushed and asked to report a bug

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 2 03:25:38 UTC 2022


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

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg

--- Comment #10 from moonlightsentinel at disroot.org ---
Reduction:

interface ContainerFunctionSetI
{
    Tuple!(WidgetI) getChildAtPosition;
}

interface WidgetI : ContainerFunctionSetI
{
}

class Form : ContainerI, WidgetI
{
}

template Tuple(Specs)
{
    enum areCompatibleTuples(Tup2)(Tuple tup1, Tup2 tup2)
    {
        tup1.field == tup2;
    }

    struct Tuple
    {
        Specs field;

        bool opEquals(R)(R) if (areCompatibleTuples!R)
        {
        }

    }
}

--


More information about the Digitalmars-d-bugs mailing list