[Issue 3022] scope x = new Foo; does not allocate on stack if Foo has allocator

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Sep 10 02:33:57 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=3022

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

https://github.com/D-Programming-Language/dmd/commit/e7242b67874b5b9ac4c416d76a54ee7b037108be
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.

https://github.com/D-Programming-Language/dmd/commit/9ba3bf09acb5d0133998781c506347f482497c0c
Merge pull request #3968 from yebblies/issue3022

Issue 3022 - scope x = new Foo; does not allocate on stack if Foo has allocator

--


More information about the Digitalmars-d-bugs mailing list