Amend SE-0216 Dynamic Callable: Reduce Overloads

As an original author of SE-0216, I support this amendment.

  • Disallowing the withArguments and withKeywordArguments methods from both being specified simplifies overload resolution, reducing confusion and complexity.
  • Supporting both methods does not seem to have critical use cases. In any case, use cases that benefit from both methods being defined can still be implemented using just a withKeywordArguments method.

I believe this amendment should become a proposal and undergo review as soon as possible. This would help @dynamicCallable meet the Swift 5 final branching deadline in November.

5 Likes