IDEA-118234 Groovy 2.3: type inference of SAM-closure parameters