fix Issue 8704 - Invalid nested struct constructions should be detected
Merge pull request #1133 from 9rnsr/fix8704

Issue 8704 - Invalid nested struct constructions should be detected