[Issue 11147] Nested structs in a union are not correctly initialized

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 30 03:36:36 PDT 2013


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


monarchdodra at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |monarchdodra at gmail.com


--- Comment #2 from monarchdodra at gmail.com 2013-09-30 03:36:34 PDT ---
I wanted to add that this:

void main() {
  assert(V.init is V());
}

It would *appear* that the compiler is confused as to *what* the initial state
of V is.

-- 
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