Skip to content

Swift compiler warning #726

Closed
Closed
@thunderbiscuit

Description

@thunderbiscuit

I'm not sure yet what to make of this, and it's probably something we'd need to bring up at the uniffi level, but this is a new warning I get when compiling the Swift library:

bdk-ffi/bdk-swift/Tests/BitcoinDevKitTests/LiveMemoryWalletTests.swift:80:7: warning: non-final class 'FullScriptInspector' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
78 | }
79 |
80 | class FullScriptInspector: FullScanScriptInspector {
   |       `- warning: non-final class 'FullScriptInspector' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions