diff --git a/Sources/NIOHTTP2/HTTP2CommonInboundStreamMultiplexer.swift b/Sources/NIOHTTP2/HTTP2CommonInboundStreamMultiplexer.swift index 0aa8a3fa..38858bce 100644 --- a/Sources/NIOHTTP2/HTTP2CommonInboundStreamMultiplexer.swift +++ b/Sources/NIOHTTP2/HTTP2CommonInboundStreamMultiplexer.swift @@ -533,7 +533,7 @@ extension NIOHTTP2AsyncSequence.AsyncIterator: Sendable {} @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) extension NIOHTTP2AsyncSequence: Sendable where Output: Sendable {} -#if swift(<5.9) +#if compiler(<5.9) // this should be available in the std lib from 5.9 onwards @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) extension AsyncThrowingStream { diff --git a/Tests/NIOHTTP2Tests/ConfiguringPipelineAsyncMultiplexerTests.swift b/Tests/NIOHTTP2Tests/ConfiguringPipelineAsyncMultiplexerTests.swift index 660b95de..e688b2f4 100644 --- a/Tests/NIOHTTP2Tests/ConfiguringPipelineAsyncMultiplexerTests.swift +++ b/Tests/NIOHTTP2Tests/ConfiguringPipelineAsyncMultiplexerTests.swift @@ -505,7 +505,7 @@ final class ConfiguringPipelineAsyncMultiplexerTests: XCTestCase { } } -#if swift(<5.9) +#if compiler(<5.9) // this should be available in the std lib from 5.9 onwards extension AsyncStream { internal static func makeStream(