groovy

Static type checker incorrectly handles assignments of variables used as parameters in control structures