[Issue 24634] CTFE on static arrays with StructInitializers fails to compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 27 13:26:44 UTC 2024


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

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |nick at geany.org
         Resolution|INVALID                     |---

--- Comment #3 from Nick Treleaven <nick at geany.org> ---
> AssignExpression dont support StructInitializer

No - AssignExpression can be a PostfixExpression, which can have a
PrimaryExpression on the left, which can be an ArrayLiteral, which can have a
StructInitializer element.

--


More information about the Digitalmars-d-bugs mailing list