Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
April 26, 2013 [Issue 9994] New: Built-in generated opAssign should call dtor on assignment | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9994 Summary: Built-in generated opAssign should call dtor on assignment Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity: major Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: k.hara.pg@gmail.com --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-26 01:34:16 PDT --- Spin-off from issue 9989. According to the Walter's comment, http://d.puremagic.com/issues/show_bug.cgi?id=9989#c2 This code: extern(C) int printf(const char*, ...); struct S { ~this(){ printf("dtor\n"); } } void main() { S s; s = s; printf("-- end\n"); } Should print: dtor -- end dtor But in current outputs: -- end dtor -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 26, 2013 [Issue 9994] Built-in generated opAssign should call dtor on assignment | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9994 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-26 01:46:28 PDT --- https://github.com/D-Programming-Language/dmd/pull/1941 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 26, 2013 [Issue 9994] Built-in generated opAssign should call dtor on assignment | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9994 --- Comment #2 from github-bugzilla@puremagic.com 2013-04-26 09:33:26 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7a4a9e381a12913155383335aa018e313410b20d fix Issue 9994 - Built-in generated opAssign should call dtor on assignment https://github.com/D-Programming-Language/dmd/commit/0793666f2accace2f4c20c1355daa08618f6dfb9 Merge pull request #1941 from 9rnsr/fix9994 Issue 9994 - Built-in generated opAssign should call dtor on assignment -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 26, 2013 [Issue 9994] Built-in generated opAssign should call dtor on assignment | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9994 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: ------- |
June 03, 2013 [Issue 9994] Built-in generated opAssign should call dtor on assignment | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=9994 --- Comment #3 from github-bugzilla@puremagic.com 2013-06-03 10:07:00 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/823d8a46d73b35f6f5836a636ca4f2169a0be99d fix Issue 9994 - Built-in generated opAssign should call dtor on assignment -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation