Commit Graph

2 Commits

Author SHA1 Message Date
Doug Gregor
eeeea49764 Remove -enable-experimental-concurrency almost everywhere. 2021-07-26 21:24:43 -07:00
Joe Groff
7470155219 Sema: Reject captures of async let bindings.
This isn't implemented. It would never make sense for escaping captures of
`async let` values, because doing so would either involve an implicit awaiting
of the value on capture, or else stretching the lifetime of the task past its
scope. In nonescaping contexts, and in nested `async let` expressions, it might
be implementable in the future. rdar://80043610
2021-07-22 10:19:40 -07:00