mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Allow the declaration of @objc async methods, mapping them to a completion-handler API in Objective-C. This covers most of the checking and semantics within the type checker: * Declaring @objc async methods and checking their parameter/result types * Determining the default Objective-C selector by adding completionHandler/WithCompletionHandler as appropriate * Determining the type of the completion handler parameter * Inferring @objc from protocol requirements * Inferring @objc from an overridden method
4.4 KiB
4.4 KiB