Commit Graph

6 Commits

Author SHA1 Message Date
Becca Royal-Gordon
b3d6424101 Merge pull request #38595 from beccadax/incompletion-handler
[PrintAsObjC] Make async completions _Nonnull
2021-07-27 16:36:54 -07:00
Doug Gregor
eeeea49764 Remove -enable-experimental-concurrency almost everywhere. 2021-07-26 21:24:43 -07:00
Becca Royal-Gordon
c306843781 [PrintAsObjC] Make async completions _Nonnull
When we printed `async` methods, we did not print a nullability annotation on the `completionHandler` parameter. This commit adds `_Nonnull`, which matches the generated SIL.

Fixes rdar://80989714.
2021-07-22 17:09:08 -07:00
Doug Gregor
1e2012d816 Disable availability checking in tests that use concurrency 2021-07-20 12:46:26 -07:00
John McCall
a8464dcaf1 Implicitly import _Concurrency under -enable-experimental-concurrency 2020-10-22 00:53:15 -04:00
Doug Gregor
daf9e2df7e [Concurrency] Print @objc async declarations as Objective-C declarations.
@objc async declarations are mapping into completion-handler-based
methods in Objective-C, so ensure that the result type, parameters,
and attributes reflect that.
2020-09-08 10:15:24 -07:00