Re: Static Type Checker Changes for Closure Parameters in 4.0.19 onward

2025-07-03 Thread Jonny
Well, `cfValues` is a bit upstream of the closure parameter. The expressions getting checked are more like: cfValues['MultiGroupPicker']*.name.collect {it.toUpperCase()}.contains("AAA") So `it` is the closure parameter. Through my ClassCodeExpressionTransformer, Groovy knows the type of cfValues[

Re: Static Type Checker Changes for Closure Parameters in 4.0.19 onward

2025-07-03 Thread Milles, Eric (TR Technology) via dev
So in your code, is "cfValues" a closure parameter that is supposed to be helped by ClosureParams metadata? This should resolve the problem: https://github.com/apache/groovy/commit/e0a02a28738736334ba3b14de5bfa34895710aff From: Jonathan Carter Sent: Wednesday,