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

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

  SE-0022: Amend to limit the syntax inside the subexpression of #selec… · apple/swift-evolution@1dfd6cd · GitHub

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.

-Joe