Re: Does static ctor/dtor of struct behave differently in 2.067-b2?

2015-03-01 Thread amber via Digitalmars-d-learn
On Saturday, 28 February 2015 at 03:26:17 UTC, ketmar wrote: On Fri, 27 Feb 2015 23:58:16 +, amber wrote: On Friday, 27 February 2015 at 23:50:51 UTC, amber wrote: Hi All, [snip] Thanks, amber [edited subject] Sorry I should add that I'm talking about static ctor/dtor of struct. Th

Re: Does static ctor/dtor of struct behave differently in 2.067-b2?

2015-02-27 Thread ketmar via Digitalmars-d-learn
On Fri, 27 Feb 2015 23:58:16 +, amber wrote: > On Friday, 27 February 2015 at 23:50:51 UTC, amber wrote: >> Hi All, > [snip] >> Thanks, amber > > [edited subject] > > Sorry I should add that I'm talking about static ctor/dtor of struct. > > The bug I see with 2.067-b2 is this: > > 1. stati

Re: Does static ctor/dtor of struct behave differently in 2.067-b2?

2015-02-27 Thread amber via Digitalmars-d-learn
On Friday, 27 February 2015 at 23:50:51 UTC, amber wrote: Hi All, [snip] Thanks, amber [edited subject] Sorry I should add that I'm talking about static ctor/dtor of struct. The bug I see with 2.067-b2 is this: 1. static this() {} called and static fields of struct are initialised 2. a