You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a protocol extends Sendable the generated mock is not complaint with the concurrency policy. And the following warnings occurs. I cannot guess if this is a bigger issue, because of the internal data structure?
Non-final class 'MockMyProtocol' cannot conform to 'Sendable'; use '@unchecked Sendable'
Stored property 'cuckoo_manager' of 'Sendable'-conforming class 'MockMyProtocol' has non-sendable type 'MockManager'
Stored property '__defaultImplStub' of 'Sendable'-conforming class 'MockMyProtocol' is mutable
The text was updated successfully, but these errors were encountered:
When a protocol extends
Sendable
the generated mock is not complaint with the concurrency policy. And the following warnings occurs. I cannot guess if this is a bigger issue, because of the internal data structure?Non-final class 'MockMyProtocol' cannot conform to 'Sendable'; use '@unchecked Sendable'
Stored property 'cuckoo_manager' of 'Sendable'-conforming class 'MockMyProtocol' has non-sendable type 'MockManager'
Stored property '__defaultImplStub' of 'Sendable'-conforming class 'MockMyProtocol' is mutable
The text was updated successfully, but these errors were encountered: