Move Type::toArgTypes into a visitor class
Merge pull request #3226 from yebblies/toargtypes

[DDMD] [refactor] Move Type::toArgTypes into a visitor class