<div dir="ltr">2013/5/15 Don Clugston <span dir="ltr"><<a href="mailto:dclugston@gmail.com" target="_blank">dclugston@gmail.com</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div><div><div>This absolutely must not be released in this form.<br>This has a silent, massive breaking change --<br></div>struct S { const int x = 7; }<br></div>Previously, x was just a manifest constant. Now, S now has an int inside every instance.<br>
</div><div>It's OK to turn that into an error. It's not OK to silently change the meaning of existing code.<br></div><div>Especially in such a radical manner. </div></div></blockquote><div><br></div><div style>It will be properly documented at the top of the language changes.</div>
<div style><a href="https://github.com/D-Programming-Language/d-programming-language.org/pull/303/files#L0R60">https://github.com/D-Programming-Language/d-programming-language.org/pull/303/files#L0R60</a></div><div style>
<br></div><div style>Certainly it will change object layout silently. But semantic meaning would not be changed in most cases, So just once full-recompilation would be necessary.</div><div style>I think that it is not a problem which deserves to reject the code by compilation error.</div>
<div style><br></div><div style>Kenji Hara</div></div></div></div>