thanos icon indicating copy to clipboard operation
thanos copied to clipboard

Defaults for keyword parameters not handled correctly if double-splat identifier argument given

Open redneckbeard opened this issue 2 years ago • 0 comments

def foo(bar: 10, **kwargs); end; foo(**some_hash) requires that the target explicitly check the splatted hash for presence of a bar key before blowing away the default. Current implementation does not do this.

redneckbeard avatar Jun 07 '22 15:06 redneckbeard