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

--- Comment #8 from Vladimir Panteleev <[email protected]> ---
> Regarding normal vs. regression, you can also view it this way: The code 
> above is valid and did the right thing, even if just by accident.

I agree with this. A valid fix which would not qualify as being labeled a
regression would be to forbid adding fields after the size has already been
queried, i.e. allow such code if the enums occur at the end of the struct.

--

Reply via email to