[Issue 11903] Internal error: backend/cgcs.c 351

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 31 10:21:33 UTC 2019


Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
           Keywords|                            |ice-on-invalid-code
                 CC|                            |b2.temp at gmx.com

--- Comment #5 from Basile-z <b2.temp at gmx.com> ---
reduced, no need for -unittest, should be a fail compilation:

struct Foo
    int[] list;

void main()
    enum foo = Foo([]);
    foo.list ~= 4;

because `foo.list` is not modifiable (or not a Lvalue).
The error must be detected in the front-end.


More information about the Digitalmars-d-bugs mailing list