[Issue 8903] Bad code for enum array members

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 11 18:31:24 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=8903



--- Comment #7 from Kenji Hara <k.hara.pg at gmail.com> 2013-12-11 18:31:13 PST ---
The bug fix will also improve generated code in following case:

void foo(int[3] sa) {}
void main() { foo([1,2,3]); }   // array literal is typed as static array, so
                                // it won't be allocated on heap.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list