digitalmars.D.bugs - [Issue 9394] New: ABI for static arrays is outdated
- d-bugmail puremagic.com (33/33) Jan 25 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9394
- d-bugmail puremagic.com (13/13) Feb 06 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9394
- d-bugmail puremagic.com (9/9) Feb 06 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9394
- d-bugmail puremagic.com (14/14) Feb 06 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9394
- d-bugmail puremagic.com (13/13) Feb 07 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9394
- d-bugmail puremagic.com (10/10) Feb 07 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9394
http://d.puremagic.com/issues/show_bug.cgi?id=9394 Summary: ABI for static arrays is outdated Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: websites AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com 16:14:49 PST --- Quote: --------- int[3] abc; --------- $(P Passing abc to functions results in these implicit conversions:) --------- void func(int[3] array); // actually <reference to><array[3] of><int> void func(int* p); // abc is converted to a pointer // to the first element void func(int[] array); // abc is converted to a dynamic array --------- w.r.t. comments: For the first func: This is only true in D1. For the second func: I didn't even know worked in D2. But I don't see the benefit of such a conversion (perhaps interfacing with C?). For he third func: I thought we always had to use a slice, but it seems to work without it. How come? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 25 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9394 Commits pushed to master at https://github.com/D-Programming-Language/d-programming-language.org https://github.com/D-Programming-Language/d-programming-language.org/commit/50381d3356dfa5fea7cc186ddc1cf9c002d5180d Fixes Issue 9394 - Fix static array ABI. Static arrays are not implicitly converted to references in D2. https://github.com/D-Programming-Language/d-programming-language.org/commit/49e28977b1f36d5af591a77a078fa6922a5bbd1e Issue 9394 - Fix static array ABI. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9394 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9394 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | Already merged: https://github.com/D-Programming-Language/d-programming-language.org/pull/258 More fundamental deletion: https://github.com/D-Programming-Language/d-programming-language.org/pull/262 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 06 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9394 Commits pushed to master at https://github.com/D-Programming-Language/d-programming-language.org https://github.com/D-Programming-Language/d-programming-language.org/commit/a6324ef708fa7922b87251eeeb98322d3da22382 fix Issue 9394 - ABI for static arrays is outdated Almost of "Reference Types" section is outdated in D2. https://github.com/D-Programming-Language/d-programming-language.org/commit/20152e47f2651308268eec487c697769a96c7e9a Issue 9394 - ABI for static arrays is outdated -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 07 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9394 Alex Rønne Petersen <alex lycus.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |alex lycus.org Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 07 2013