Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Follow up from GROOVY-8223 and GROOVY-8887. Consider the following:
static Tuple2<String,Integer> make() { Tuple.tuple('answer', 42) } @groovy.transform.CompileStatic void test() { def (String string, Integer number) = make() println string println number } test()
Destructuring of tuple fails for static method call expression.