[Issue 19598] CTFE fails to assign struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 21 12:58:57 UTC 2019


--- Comment #7 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
It seems this can be fixed by teaching assignToLvalue about StructLiteralExps:

        else if (auto sle = e1.isStructLiteralExp())
            oldval = sle;

There may be issues with this fix though.


More information about the Digitalmars-d-bugs mailing list