GROOVY-6334: ensure constructor default parameters are checked