https://issues.dlang.org/show_bug.cgi?id=17076
--- Comment #2 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/e11a1cd13ce6450bb3b2ec91da267e2b7547fe24 Merge pull request #6420 from WalterBright/ret-ptrs [scope] fix Issue 17076 don't infer 'return' if return type doesn't have pointers --