Nils <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from Nils <> 2012-06-17 16:50:24 PDT ---
Seems to me that the default initializer for nested structs misses the context

void main() {
    int x;
    struct S {
        char y;
        void boom() {x = 42;} // makes the struct nested
    S s;

There's no crash with an int y, probably because then the struct is considered
to be "all zeros", and is given special treatment. It crashes anyway when y is
explicitly initialized to 0, because the "all zeros" recognizer isn't that
There's no crash if s is initialized to S() or {}.
S.init.boom() crashes, too, of course.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to