Skip to content

Commit 53b4c81

Browse files
committed
testing if this will even work in swift 6
1 parent 6a22c43 commit 53b4c81

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Sources/OpenAPIKit/ExternalLoader.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import Foundation
1313
// split this conformance requirement out into a trivial base protocol to make
1414
// it easy to have different behavior for different language versions. Prior to
1515
// Swift 6.2, SendableMetatype is not even available.
16-
#if swift(<6.2)
17-
public protocol _ExternalLoaderMetatype {}
18-
#else
16+
//#if swift(<6.2)
17+
//public protocol _ExternalLoaderMetatype {}
18+
//#else
1919
public protocol _ExternalLoaderMetatype: SendableMetatype {}
20-
#endif
20+
//#endif
2121

2222
/// An `ExternalLoader` enables `OpenAPIKit` to load external references
2323
/// without knowing the details of what decoder is being used or how new internal

Sources/OpenAPIKit30/ExternalLoader.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import Foundation
1313
// split this conformance requirement out into a trivial base protocol to make
1414
// it easy to have different behavior for different language versions. Prior to
1515
// Swift 6.2, SendableMetatype is not even available.
16-
#if swift(<6.2)
17-
public protocol _ExternalLoaderMetatype {}
18-
#else
16+
//#if swift(<6.2)
17+
//public protocol _ExternalLoaderMetatype {}
18+
//#else
1919
public protocol _ExternalLoaderMetatype: SendableMetatype {}
20-
#endif
20+
//#endif
2121

2222
/// An `ExternalLoader` enables `OpenAPIKit` to load external references
2323
/// without knowing the details of what decoder is being used or how new internal

0 commit comments

Comments
 (0)