SE-0216: User-defined dynamically callable types

For the record: the motivation for separating the withArguments: and withKeywordArguments: methods is to disallow keyword-argument-calls for languages that don't support keywords. The example used in the proposal is JavaScript.
For languages without keyword arguments, defining a withKeywordArguments: method would be unnatural and a "no argument labels" precondition would be required at run time.

1 Like