The call(...)
declaration syntax was in fact our original pitch (Pitch: Introduce (static) callables). We took feedback from the Core Team and switched to callAsFunction()
. Along with other alternatives it was discussed in this section of Alternatives Considered: Alternative ways to declare call-syntax delegate methods.
8 Likes