Thread overview
[Issue 15661] [REG2.067.0] Destructor called while object still alive
[Issue 15661] Destructor called while object still alive
Feb 09, 2016
Ali Cehreli
Feb 09, 2016
Daniel Kozak
Feb 09, 2016
Daniel Kozak
Feb 09, 2016
Kenji Hara
Feb 09, 2016
Kenji Hara
Feb 09, 2016
Kenji Hara
Feb 09, 2016
Kenji Hara
February 09, 2016
https://issues.dlang.org/show_bug.cgi?id=15661

Ali Cehreli <acehreli@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |acehreli@yahoo.com

--
February 09, 2016
https://issues.dlang.org/show_bug.cgi?id=15661

Daniel Kozak <kozzi11@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kozzi11@gmail.com
                 OS|Windows                     |All
           Severity|major                       |regression

--
February 09, 2016
https://issues.dlang.org/show_bug.cgi?id=15661

--- Comment #1 from Daniel Kozak <kozzi11@gmail.com> ---
in 2.066.1 and before it works as expected

--
February 09, 2016
https://issues.dlang.org/show_bug.cgi?id=15661

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86_64                      |All
            Summary|Destructor called while     |[REG2.067.0] Destructor
                   |object still alive          |called while object still
                   |                            |alive

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
Also happens with Win32.

--
February 09, 2016
https://issues.dlang.org/show_bug.cgi?id=15661

--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> ---
Introduced in: https://github.com/D-Programming-Language/dmd/pull/4078

--
February 09, 2016
https://issues.dlang.org/show_bug.cgi?id=15661

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code

--
February 09, 2016
https://issues.dlang.org/show_bug.cgi?id=15661

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #4 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/5431

--
February 16, 2016
https://issues.dlang.org/show_bug.cgi?id=15661

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/5a235b87ddbbdd01e08106ce099f31c72b670043 fix Issue 15661 - Destructor called while object still alive

By the PR #4078, some preparation code has been inserted before a constructor call expression. Then, `AssignExp` had failed to recognize the ctor call form.

https://github.com/D-Programming-Language/dmd/commit/06a5ae5077e6e7ae9da01fb3293b3df6ce7c1a84 Merge pull request #5431 from 9rnsr/fix15661

[REG2.067.0] Issue 15661 - Destructor called while object still alive

--
February 16, 2016
https://issues.dlang.org/show_bug.cgi?id=15661

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
February 23, 2016
https://issues.dlang.org/show_bug.cgi?id=15661

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/5a235b87ddbbdd01e08106ce099f31c72b670043 fix Issue 15661 - Destructor called while object still alive

https://github.com/D-Programming-Language/dmd/commit/06a5ae5077e6e7ae9da01fb3293b3df6ce7c1a84 Merge pull request #5431 from 9rnsr/fix15661

--