fix Issue 13011 - inout delegate parameter cannot receive exactly same type argument
Merge pull request #3707 from 9rnsr/fix13011

Issue 13011 - inout delegate parameter cannot receive exactly same type argument