fix Issue 12038 - alias this and &this cause ICE
Merge pull request #3179 from 9rnsr/fix12038

Issue 12038 - alias this and &this cause ICE
Move getIntRange to a visitor class
Merge pull request #3118 from yebblies/getIntRange

[DDMD] [refactor] Move getIntRange to a visitor class