fix Issue 13839 - Use new style for alias declarations in di files
Merge pull request #4202 from 9rnsr/fix13839

Issue 13839 - Use new style for alias declarations in di files
fix Issue 13832 - delegates that return ref do not output correctly to .di file