Skip to content

Commit 356a3af

Browse files
authored
test compiler not language version (#440)
1 parent c6afe04 commit 356a3af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/NIOHTTP2/HTTP2CommonInboundStreamMultiplexer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ extension NIOHTTP2AsyncSequence.AsyncIterator: Sendable {}
533533
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
534534
extension NIOHTTP2AsyncSequence: Sendable where Output: Sendable {}
535535

536-
#if swift(<5.9)
536+
#if compiler(<5.9)
537537
// this should be available in the std lib from 5.9 onwards
538538
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
539539
extension AsyncThrowingStream {

Tests/NIOHTTP2Tests/ConfiguringPipelineAsyncMultiplexerTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ final class ConfiguringPipelineAsyncMultiplexerTests: XCTestCase {
505505
}
506506
}
507507

508-
#if swift(<5.9)
508+
#if compiler(<5.9)
509509
// this should be available in the std lib from 5.9 onwards
510510
extension AsyncStream {
511511
internal static func makeStream(

0 commit comments

Comments
 (0)