On 7/2/2012 1:04 PM, bearophile wrote:
Walter Bright:

Put "final" in front of y, and it will compile. Remember, this was done for D1
that didn't have const.

I see. So in D2 are we going to require that y to be immutable?

No. I don't agree there's a problem. Nor do I care to break existing D1 code (and D2 for that matter) without an awfully good reason, and I don't see one here.

Reply via email to