[Issue 6178] Struct inside the AA are not init correctly

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 16 01:18:32 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=6178



--- Comment #13 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-01-16 01:18:30 PST ---
Well, seems in 2.061 the behavior was changed. 

Without any options, the output is like:

-1154412584 opAssign called (big value)
1 dtor called
-1154412584 dtor called

With -release or -noboundscheck the output is more robust:

0 opAssign called
1 dtor called
0 dtor called

With -O option output is:

32638 opAssign called // close to signed short int max
1 dtor called
32638 dtor called

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list