Description
Nested with statements do not seem to recognize global (or super) parameters:
class A {
def foo = 123
def controller = [params: [bar: 1]]
def test() {
controller.with {
params.with
}
controller.params.bar
}
}
def a = new A()
assertEquals 123, a.test()//Fails