groovy

Creating anonymous class instance fails with some legal code structures