Expand huge if condition
Merge pull request #3315 from yebblies/hugeif

[DDMD] Expand huge if condition