https://issues.dlang.org/show_bug.cgi?id=3022
--- Comment #3 from github-bugzi...@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 --