http://d.puremagic.com/issues/show_bug.cgi?id=8861
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Summary|compiler should inform as |ICE: ../ztc/cgcs.c 343 |"... can't return lvalue " | |but crush because of | |Internal error | Severity|normal |major --- Comment #1 from Andrej Mitrovic <[email protected]> 2012-10-21 13:35:15 PDT --- Interesting, only seems to happen when array is length 2 or less: OK: int[3] mysize; @property auto size() { return mysize; } int width() { return size[0]; } void main() { } FAIL: int[2] mysize; @property auto size() { return mysize; } int width() { return size[0]; } void main() { } I've changed the title to make it more searchable for others. High priority since ICEs are important. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
