Skip to content

Commit 23cbf22

Browse files
authored
Swift 5.5 Support (#70)
* Fix * tmp
1 parent 3b7becc commit 23cbf22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
strategy:
3636
matrix:
3737
include:
38-
- { toolchain: wasm-5.6.0-RELEASE }
38+
- { toolchain: wasm-5.5.0-RELEASE }
3939

4040
steps:
4141
- uses: actions/checkout@v3
4242
- run: echo "${{ matrix.toolchain }}" > .swift-version
43-
- uses: swiftwasm/swiftwasm-action@v5.6
43+
- uses: swiftwasm/swiftwasm-action@v5.5
4444
with:
4545
shell-action: swift build

Sources/XCTestDynamicOverlay/Internal/GeneratePlaceholder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extension RangeReplaceableCollection { fileprivate static var placeholder: Self
1111
private protocol _OptionalProtocol { static var none: Self { get } }
1212
extension Optional: _OptionalProtocol {}
1313
private func _optionalPlaceholder<Result>() throws -> Result {
14-
if let result = (Result.self as? any _OptionalProtocol.Type) {
14+
if let result = (Result.self as? _OptionalProtocol.Type) {
1515
return result.none as! Result
1616
}
1717
throw PlaceholderGenerationFailure()

0 commit comments

Comments
 (0)