[Chapel Merge] Add uses of if-var in modules

Branch: refs/heads/master
Revision: a7fd46a
Author: vasslitvinov
Log Message:

Merge pull request #17107 from vasslitvinov/use–if-var

Add uses of if-var in modules

This adds a couple of uses of the if-var construct in the modules.
These are the changes that I withheld from #17047 in 391973eae0
to avoid impact on testing at the time.

r: @mppf as part of #17047

Modified Files:
M modules/dists/BlockDist.chpl
M modules/dists/CyclicDist.chpl
M modules/internal/ChapelDistribution.chpl

Compare: Comparing 9791ae52a034...a7fd46a1b94f · chapel-lang/chapel · GitHub