Closed marcprux closed 4 days ago
Fixes https://github.com/supabase/supabase-swift/issues/606
swift build fails on macOS 13
swift build
Behavior should be unchanged.
Note the two eraseToStream() implementations at https://github.com/pointfreeco/swift-concurrency-extras/blob/e96a8a76fdccf12ab4b087cdf2d867dd74cd065c/Sources/ConcurrencyExtras/AsyncStream.swift#L103. The macOS swift compiler seem to not be clever enough to pick one, so this PR sidesteps the problem by just doing the same thing as eraseToStream() inline.
eraseToStream()
What kind of change does this PR introduce?
Fixes https://github.com/supabase/supabase-swift/issues/606
What is the current behavior?
swift build
fails on macOS 13What is the new behavior?
Behavior should be unchanged.
Additional context
Note the two
eraseToStream()
implementations at https://github.com/pointfreeco/swift-concurrency-extras/blob/e96a8a76fdccf12ab4b087cdf2d867dd74cd065c/Sources/ConcurrencyExtras/AsyncStream.swift#L103. The macOS swift compiler seem to not be clever enough to pick one, so this PR sidesteps the problem by just doing the same thing aseraseToStream()
inline.