def param = 'string'
def str = "Double quoted ${param}"
assert str instanceof GString
assert str == 'Double quoted string'
The parameter is by default resolved eagerly, this means this applies:
def param = 'string'
def str = "Double quoted ${param}"
param = 'another stri...