Release D 2.072.0
    Johan Engelen via Digitalmars-d-announce 
    digitalmars-d-announce at puremagic.com
       
    Thu Nov  3 17:45:18 PDT 2016
    
    
  
On Friday, 4 November 2016 at 00:42:48 UTC, Johan Engelen wrote:
> On Thursday, 3 November 2016 at 15:51:22 UTC, Steven 
> Schveighoffer wrote:
>>
>> Any cycles that are "newly discovered" were already there. 
>> What was happening is that the runtime did not detect the 
>> cycle, and was arbitrarily choosing an order for initializing 
>> these modules. Either a) the arbitrary order happened to be 
>> right, or b) the order didn't matter. Most of the time it's b, 
>> because most static ctors don't depend on externally 
>> initialized items.
>
> My question is: any cycle is invalid?
nevermind, I found this:
https://dlang.org/spec/module.html#order_of_static_ctor
    
    
More information about the Digitalmars-d-announce
mailing list