[Issue 17828] [ICE] Internal error: ddmd/backend/cgcs.c 352 - CTFE appending to an array on a struct from a template

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Sep 15 08:37:17 UTC 2017


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

b2.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com

--- Comment #1 from b2.temp at gmx.com ---
reduced:

---
struct Content{string[] parts;}

void main(){
    enum Content content = {};
    content.parts ~= "";
}
---

--


More information about the Digitalmars-d-bugs mailing list