Fix Swift <6 warning #6040
Annotations
7 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Debug:
Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_SendableReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
|
Debug:
Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_SendableAnyKeyPath' (aka 'AnyKeyPath')
|
Debug:
Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_SendablePartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
|
Debug:
Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_SendablePartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
|
Debug:
Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_SendableReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
|
Debug:
Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_SendableAnyKeyPath' (aka 'AnyKeyPath')
|
Loading