[Amendment] SE-0022: Referencing the Objective-C selector of a method

(Joe Groff) #1

Hi everyone. Accepted proposal SE-0022, "Referencing the Objective-C selector of a method", has been amended with the following changes:


Alex Hoppen, who undertook the work to implement the related proposal SE-0064, "Referencing the Objective-C selector of property getters and setters", noted that by accepting arbitrary expressions inside a #selector expression, we made it difficult to handle the getter and setter selector cases introduced by SE-0064. It was not the original proposal's attempt to accept arbitrary expressions, only expressions that happened to form a valid method reference, and the amendment seeks to clarify this intent.