https://issues.dlang.org/show_bug.cgi?id=12822
--- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/51143be746a36c43bc6c25f85648b13dc57e5585 fix Issue 12822 - Delegate .ptr assignment considered @safe https://github.com/dlang/dmd/commit/0f2c901890e04699bf5a151a992b5eecf8d0cfde Merge pull request #5851 from WalterBright/fix12822 fix Issue 12822 - Delegate .ptr assignment considered @safe --