swift
0f18948b - [Concurrency] Allow @objc async methods.

Commit
5 years ago
[Concurrency] Allow @objc async methods. 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
Author
Committer
Parents
Loading