digitalmars.D.bugs - [Issue 9259] New: Passing an array of pointers to a typesafe vararg is broken
- d-bugmail puremagic.com Jan 02 2013
- d-bugmail puremagic.com Jan 09 2013
- d-bugmail puremagic.com Jan 21 2013
- d-bugmail puremagic.com Jan 21 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9259 Summary: Passing an array of pointers to a typesafe vararg is broken Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: siegelords_abode yahoo.com --- Comment #0 from siegelords_abode yahoo.com 2013-01-02 17:58:24 PST --- Worked fine with 2.060, broken in 2.061. Happens both with -m32 and -m64, but the compiler itself is 64 bit. It has to be an array of pointers, has to be passed to a function with typesafe varargs. void test(int*[] arr...) { assert(*arr[0] == 5); // This assertion fails } void main() { int a = 5; test([&a]); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 02 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9259 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull, wrong-code --- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-01-09 21:34:09 PST --- https://github.com/D-Programming-Language/dmd/pull/1457 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 09 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9259 --- Comment #2 from github-bugzilla puremagic.com 2013-01-21 00:32:06 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/066b2801e06867d1d147be9629328a37b525bb57 fix Issue 9259 - Passing an array of pointers to a typesafe vararg is broken https://github.com/D-Programming-Language/dmd/commit/5c00c8dae6dbc0e78a91e6d67229557b4726c9c3 Merge pull request #1457 from 9rnsr/fix9259 Issue 9259 - Passing an array of pointers to a typesafe vararg is broken -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 21 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9259 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 21 2013









d-bugmail puremagic.com 