GROOVY-6834: False positive variable scoping error when using AIC in combination with logging AST transform