digitalmars.D.bugs - [Issue 9773] New: ref parameter with default value should not compile
- d-bugmail puremagic.com (26/26) Mar 21 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9773
- d-bugmail puremagic.com (10/10) Apr 02 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9773
- d-bugmail puremagic.com (23/36) Apr 03 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9773
- d-bugmail puremagic.com (11/11) Apr 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9773
- d-bugmail puremagic.com (10/10) Apr 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9773
- d-bugmail puremagic.com (9/9) May 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9773
- d-bugmail puremagic.com (8/8) May 17 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9773
http://d.puremagic.com/issues/show_bug.cgi?id=9773 Summary: ref parameter with default value should not compile Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: alanb ucora.com This should not compile. void f( ref string a = "" ) { a = "crash and burn"; } int main() { f(); // seg fault return 0; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 21 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9773 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/1829 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 02 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9773 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich gmail.com 00:10:22 PDT ---This should not compile. void f( ref string a = "" ) { a = "crash and burn"; } int main() { f(); // seg fault return 0; }P.S. isn't there a way we can put string literals in some kind of ROM on Windows? It's just insane that it doesn't crash on Windows (ancient problem, I know): import std.stdio; void f(ref string a = "") { a = "crash and burn"; } void main() { f(); writeln(""); // 'crash and burn' } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 03 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9773 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/706b18758a63715aef4b1821e7b66b1d4e5ee467 fix Issue 9773 - ref parameter with default string literal should not compile https://github.com/D-Programming-Language/dmd/commit/630e484c7e20cb156bf71404a342a8b98459cfde Issue 9773 - ref parameter with default string literal should not compile -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 04 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9773 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: -------
Apr 04 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9773 Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/fe00d71443844f0261e0dd39b9c97ed3172b8527 Issue 9773 - ref parameter with default string literal should not compile -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 15 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9773 Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/fe00d71443844f0261e0dd39b9c97ed3172b8527 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 17 2013