[dmd-beta] dmd 2.064 beta take 2

Walter Bright walter at digitalmars.com
Wed May 15 10:57:07 PDT 2013


On 5/15/2013 4:27 AM, Don Clugston wrote:
> This absolutely must not be released in this form.
> This has a silent, massive breaking change --
> struct  S { const int x = 7; }
> Previously, x was just a manifest constant. Now, S now has an int inside every 
> instance.
> It's OK to turn that into an error. It's not OK to silently change the meaning 
> of existing code.
> Especially in such a radical manner.
>

As I recall, there was a loong discussion about this, and I had thought everyone 
agreed.


More information about the dmd-beta mailing list