https://issues.dlang.org/show_bug.cgi?id=17448
--- Comment #18 from Walter Bright <bugzi...@digitalmars.com> --- (In reply to Walter Bright from comment #17) > Another case: > > https://github.com/dlang/dmd/pull/6852 Also: https://github.com/dlang/dmd/pull/6849 https://github.com/dlang/dmd/pull/6847 The three of them eliminates the moving in this test case. I know it is not what you're asking for, but it is a worthwhile optimization. --