https://issues.dlang.org/show_bug.cgi?id=15839
--- Comment #10 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bb5f550edd77ad780878b8fba89820b001b43554 fix Issue 15839 - this.outer is of wrong type Tweak built-in `.outer` property behavior. If there's some nested functions between a nested class and parent class, `.outer` can point the parent class instance. In other words, the immediate parent function frame of the nested class will be inaccessible by using `.outer`. https://github.com/D-Programming-Language/dmd/commit/1aa8a1e8ebe9893f04d689319dd0606bede83fac Merge pull request #5613 from 9rnsr/fix15839 [REG2.071-b1] Issue 15839 - this.outer is of wrong type --