https://issues.dlang.org/show_bug.cgi?id=22977
--- Comment #5 from Dennis <[email protected]> --- (In reply to Walter Bright from comment #4) > It appears that the problem is the nested function is not inferring `return > scope` when returning a scope variable from its closure. Indeed, the linked PR (https://github.com/dlang/dmd/pull/14236) tries to fix this, but it is currently blocked by buildkite projects. --
