https://issues.dlang.org/show_bug.cgi?id=16607
--- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/b295ff509a52cd332d975014279ed891e11f465d fix Issue 16607 - forward reference error for nested struct - This reverts removing the AggregateDeclaration.setScope override (see 75b5b69155) and fixes a wrong error triggered by setting _scope on a SIZEOKdone struct during deferred setScope phases (outer struct has forward references). https://github.com/dlang/dmd/commit/9dfa50e8fccd9b888a52300abb99eb3d669fb869 Merge pull request #6214 from MartinNowak/fix16607 fix Issue 16607 - forward reference error for nested struct --