July 11, 2013 Re: A purity change | ||||
---|---|---|---|---|
| ||||
Posted in reply to Maxim Fomin | On Thursday, 11 July 2013 at 18:28:19 UTC, Maxim Fomin wrote:
> The reason it worked in normal constructor prior the change was probably the same bug.
> This docs covers the issue - http://dlang.org/changelog.html#staticfields
Daym. Who thought it was a good idea to make immutable static by default? Seems I've been confused in my prior answer because of that.
|
Copyright © 1999-2021 by the D Language Foundation