https://issues.dlang.org/show_bug.cgi?id=20195
--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> --- @andralex updated dlang/dmd pull request #11368 "Flagpack" mentioning this issue: - Issue 20195 - Allow explicit ref-returns of shared Variables (partial fix) This is okay because we are passing a pointer and not the actual value. Currently excludes `ref` inferred from `auto ref`. https://github.com/dlang/dmd/pull/11368 --