fix Issue 13008 - 'deprecated' is not allowed to refer another deprecated when it is a function declaration
Merge pull request #3704 from 9rnsr/fix13008

[REG2.066a] Issue 13008 - 'deprecated' is not allowed to refer another deprecated when it is a function declaration
fix Issue 13011 - inout delegate parameter cannot receive exactly same type argument