fix Issue 12097 - Ddoc unittest should generate consistent result with 'ditto' declarations
Merge pull request #3230 from 9rnsr/fix12097

Issue 12097 - Ddoc unittest should generate consistent result with 'ditto' declarations