Skip to content
Snippets Groups Projects
Commit a7bc48fd authored by stepan's avatar stepan
Browse files

Fix: match.call() works properly with S3 dispatch

Involves fixing of matching arguments for UseMethod/NextMethod -- arguments
with default values, for which the caller does not provide any value,
are ignored and not passed to the S3 generic, not even as varargs.

ArgumentMatcher puts a special placeholder into the signature for
arguments that were 'unmatched' (with default value, but not provided).
CallMatcherNode then removes such args from the arguments array and
from the signature and continues as normal.
parent 7ef03482
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment