pointfreeco / swift-composable-architecture

A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
https://www.pointfree.co/collections/composable-architecture
MIT License
12.53k stars 1.45k forks source link

Sendable warnings (Animation) #2539

Closed TosinAF closed 1 year ago

TosinAF commented 1 year ago

Description

It seems that there a few sendable warnings in the Animation File when using Xcode 15.

ComposableArchitecture/Effects/Animation.swift:50:31: warning: capture of 'transaction' with non-sendable type 'Transaction' in a @Sendable closure withTransaction(transaction) {

SwiftUI.Transaction:2:23: note: struct 'Transaction' does not conform to the 'Sendable' protocol @frozen public struct Transaction {

Checklist

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

The Composable Architecture version information

1.2.0

Destination operating system

iOS 16

Xcode version information

Xcode 15

Swift Compiler version information

swift-driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
Target: arm64-apple-macosx13.0
TosinAF commented 1 year ago
Screenshot 2023-11-02 at 11 19 06 AM
acosmicflamingo commented 1 year ago

@TosinAF what color scheme is that? It's beautiful :)