D-Programming-Language/dmd — pull request #1067 by 9rnsr (2012-07-28 09:43:08+00:00)
Title: Issue 8437 - [2.060 beta] static struct no size yet for forward reference

http://d.puremagic.com/issues/show_bug.cgi?id=8437

This is a regression introduced fixing aggregate alignment.
Introduced Commit: 154e44a006270d53745f99ec3e538a0ce526ae76

In VarDeclaration::semantic, if scope alignment is default, then its type's alignment is used, and it needs to resolve forward reference.
But, in ClassDeclaration::semantic, the calling setScope for AttribDeclaration members was lacked.