Add canImport(_Concurrency) for Xcode 13.0 (#2015)

This commit is contained in:
Fabian Fett 2021-12-20 16:12:50 +01:00 committed by GitHub
parent b5c662adfc
commit e123c216cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//
#if compiler(>=5.5) && !compiler(>=5.5.2)
#if compiler(>=5.5) && !compiler(>=5.5.2) && canImport(_Concurrency)
extension EventLoopFuture {
/// Get the value/error from an `EventLoopFuture` in an `async` context.