Skip to content

Commit

Permalink
Add missing Sendable conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
ffried committed Sep 15, 2022
1 parent 7d4db04 commit cebe221
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/FFFoundation/TypeDescription.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public struct TypeDescription: Equatable, Hashable, Codable, CustomStringConvert
}
}

#if compiler(>=5.5.2) && canImport(_Concurrency)
extension TypeDescription: Sendable {}
#endif

extension StringProtocol {
private func parseNextTypes(currentIndex: inout Index) -> Array<TypeDescription> {
let separatorIndex = firstIndex(where: "<,>".contains) ?? endIndex
Expand Down

0 comments on commit cebe221

Please sign in to comment.