https://issues.dlang.org/show_bug.cgi?id=18484
--- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/ff6edd1f56da1604d0b22d5342c5100633551cce fix Issue 18484 - [dip1000] Subtype allows reference to escape with implicit casting https://github.com/dlang/dmd/commit/03eb2b7c0a8c0bbd0e01ab4b1b24cb30d82f4d02 Merge pull request #8036 from WalterBright/fix18484 fix Issue 18484 - [dip1000] Subtype allows reference to escape with i… merged-on-behalf-of: Walter Bright <walterbri...@users.noreply.github.com> --