September 14, 2015 [dmd-internals] [D-Programming-Language/dmd] 8e4676: fix Issue 15044 - destroy might leak memory | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/stable Home: https://github.com/D-Programming-Language/dmd Commit: 8e4676303a688ce3a034b38508b5e5b8c7bfa7e0 https://github.com/D-Programming-Language/dmd/commit/8e4676303a688ce3a034b38508b5e5b8c7bfa7e0 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-09-15 (Tue, 15 Sep 2015) Changed paths: M src/aggregate.h M src/clone.c M src/func.c M src/struct.c A test/fail_compilation/fail15044.d M test/runnable/testassign.d Log Message: ----------- fix Issue 15044 - destroy might leak memory Defer semantic3 running of generated `opAssign` function, and add special error gagging mechanism in `FuncDeclaration.semantic3()` to hide errors from its body. Commit: 664b20269a2bba779255356a30ae8c00414aa5a7 https://github.com/D-Programming-Language/dmd/commit/664b20269a2bba779255356a30ae8c00414aa5a7 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-09-15 (Tue, 15 Sep 2015) Changed paths: M src/aggregate.h M src/class.c M src/clone.c M src/declaration.h M src/func.c M src/magicport.json M src/struct.c Log Message: ----------- Fix breaking of compilable/test14838.d Add STCinference for attribute inference of opAssign/postblit/destructor. Commit: af4d3a4158f95d1720b42e8027ae2aead90c7a4f https://github.com/D-Programming-Language/dmd/commit/af4d3a4158f95d1720b42e8027ae2aead90c7a4f Author: Martin Nowak <code@dawg.eu> Date: 2015-09-14 (Mon, 14 Sep 2015) Changed paths: M src/class.c M src/clone.c M src/declaration.h M src/func.c M src/magicport.json A test/fail_compilation/fail15044.d M test/runnable/testassign.d Log Message: ----------- Merge pull request #5075 from 9rnsr/fix15044 [REG2.068.0] Issue 15044 - destroy might leak memory Compare: https://github.com/D-Programming-Language/dmd/compare/ea5d85af7abf...af4d3a4158f9 |
Copyright © 1999-2021 by the D Language Foundation