Vampire
08/27/2026, 2:52 AMclass Foo {
def foo() {
{ Object[] foo -> println(foo) }.call(new Object[] { 'foo' })
}
}
new Foo().foo()
it prints [foo].
Adding @groovy.transform.CompileStatic,
it prints [[foo]].
Removing the Object[] with added static-compilation it again prints [foo] .Vampire
08/27/2026, 8:07 AM