Using the documented mixture of named and positional arguments (or args with default values for that matter), how to invoke a method without specifying any named param?
I'm trying to extend existing shared method without breaking everybody else's code, and this approach looked promising, but the following example fails:
def test(Map args, some, thing='default value'){
"$some $thing";
}
//good - adding any named parameter works
//test('yet', 'another good', anything:'notneeded');
//but not specifying named parameter fails
test('this', 'fails');
I was not able to find documentation about this behavior, and it looks strange.