I\'m seeing different handling of "final" modifier in current stable Groovy (v3.0.7): identical code block which checks for condition and sets final variable works