http://d.puremagic.com/issues/show_bug.cgi?id=7217
Summary: Regression(head 7c839960): [CTFE] ICE on accesing struct array field Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: verylonglogin....@gmail.com --- Comment #0 from Denis <verylonglogin....@gmail.com> 2012-01-04 11:22:00 MSK --- It compiles with dmd 2.057. But with head commit (7c839960): Assertion failure: '((StructLiteralExp *)newval)->ownedByCtfe' on line 6281 in file 'interpret.c' --- struct S { int[] arr; } int f() { auto s = S(); auto t = s.arr; return 0; } enum e = f(); --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------