The Core Team discussed this and has decided to further revise the proposal to name the operator function func callAsFunction()
. We are comfortable with enabling this functionality purely based on nothing more than the name of a function, and we are not persuaded that init
and subscript
(which both have substantially different semantic and syntactic rules and are not simply functions) provide important precedents here requiring a new declaration introducer.
Thank you all for the discussion.
John McCall
Bikeshed Manager