https://issues.dlang.org/show_bug.cgi?id=17828
Basile-z <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid --- Comment #2 from Basile-z <[email protected]> --- The root of the problem is a check not done during sema I believe, because the following works --- struct Content{ubyte parts;} void main(){ enum Content content = {}; content.parts = 2; } --- fixing this last example should prevent the ICE as well. BTW another evidence showing that it's a missing bit in the front end is that LDC2 crashes too (with the reduced test case of comment #2). --
