[diagnostic] Issue 1566 - Nested template issue 

https://d.puremagic.com/issues/show_bug.cgi?id=1566