July 14, 2014
On Sunday, 13 July 2014 at 20:55:25 UTC, bearophile wrote:
> D doesn't carry the range of mutable variables across different expressions.

What is the reasoning behind this kind of special-casing?
July 14, 2014
Ola Fosheim Grøstad:

> On Sunday, 13 July 2014 at 20:55:25 UTC, bearophile wrote:
>> D doesn't carry the range of mutable variables across different expressions.
>
> What is the reasoning behind this kind of special-casing?

Compiler simplicity and to avoid flow analysis. The value range is kept across const expressions since 2.066.

Bye,
bearophile
1 2
Next ›   Last »