September 10, 2014 [dmd-internals] [D-Programming-Language/dmd] e7242b: Fix Issue 3022 - scope x = new Foo; does not alloc... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: e7242b67874b5b9ac4c416d76a54ee7b037108be https://github.com/D-Programming-Language/dmd/commit/e7242b67874b5b9ac4c416d76a54ee7b037108be Author: Daniel Murphy <yebblies@gmail.com> Date: 2014-09-10 (Wed, 10 Sep 2014) Changed paths: M src/declaration.c M test/runnable/xtest46.d Log Message: ----------- Fix Issue 3022 - scope x = new Foo; does not allocate on stack if Foo has allocator If new only has one argument, then it must be the size. Commit: 9ba3bf09acb5d0133998781c506347f482497c0c https://github.com/D-Programming-Language/dmd/commit/9ba3bf09acb5d0133998781c506347f482497c0c Author: Andrej Mitrovic <andrej.mitrovich@gmail.com> Date: 2014-09-10 (Wed, 10 Sep 2014) Changed paths: M src/declaration.c M test/runnable/xtest46.d Log Message: ----------- Merge pull request #3968 from yebblies/issue3022 Issue 3022 - scope x = new Foo; does not allocate on stack if Foo has allocator Compare: https://github.com/D-Programming-Language/dmd/compare/dfad66748eac...9ba3bf09acb5 |
Copyright © 1999-2021 by the D Language Foundation