http://d.puremagic.com/issues/show_bug.cgi?id=4940
Summary: ICE(symbol.c): Accessing tuple-typed field of struct literal with user-defined constructor Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hanaz...@gmail.com --- Comment #0 from Kasumi Hanazuki <k.hanaz...@gmail.com> 2010-09-25 18:39:51 PDT --- DMD v2.049 on Windows crashes with the message: Internal error: ..\ztc\symbol.c 1043 This only occurs when accessing a tuple-typed field on a struct literal directly and using an user-defined constructor. ---- void main() { auto w = S(0).x; } template Tuple(T...) { alias T Tuple; } struct S { Tuple!(int, int) x; this(int) { } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------