Fix issue 13521 : -di ignores variable shadowing

https://issues.dlang.org/show_bug.cgi?id=13521
Merge pull request #4019 from mihails-strasuns-sociomantic/di-shadowing-ignored

[D1] fix issue 13521 : -di ignores variable shadowing