Fixes Issue 8742 - ICE on anon class derived from nested class.
Merge pull request #1466 from AndrejMitrovic/Fix8742

Issue 8742 - ICE on anon class derived from nested class.
fix Issue 9305 - Ugly Ddoc for default template lambda expressions