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

moonlightsenti...@disroot.org changed:

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

--- Comment #2 from moonlightsenti...@disroot.org ---
Maybe related reduction from dustmite:

==============================

alias AliasSeq(TList...) = TList;

enum isCopyable(S) = { S foo; };


struct SumType
{
    alias Types = AliasSeq!(typeof(this));

    Types[0] t;

    alias cp = isCopyable!(Types[0]);
}

================================

This also segfaults but prints

test.d(6): Error: struct test.SumType cannot have field t with same struct type

--

Reply via email to