http://d.puremagic.com/issues/show_bug.cgi?id=7890
Summary: [CTFE] - segfault for struct literal with AA field Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: d...@dawgfoto.de --- Comment #0 from d...@dawgfoto.de 2012-04-11 08:27:29 PDT --- cat > bug.d << CODE struct Foo { int[int] tab; } Foo ctfe() { Foo foo; foo.tab[0] = 0; return foo; } enum f = ctfe(); CODE dmd -c bug -------- The segfault happens during the hasNonConstPointers check for the enum initializer. At that point the tab field type is 'int' instead of 'int[int]'. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------