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
If a function signature uses the new Typed throws introduced with Swift 6, Cuckoo doesn't generate mocks properly.
For example I use throws(APIError) the file into GeneratedMocks.swift has only throws
Hey, yeah, this isn't supported at the moment. I don't think we're using SwiftSyntax 6 yet, though after its integration adding support for this shouldn't be too hard generator-wise. Not sure about the runtime.
Hello All!,
If a function signature uses the new Typed throws introduced with Swift 6, Cuckoo doesn't generate mocks properly.
For example I use
throws(APIError)
the file intoGeneratedMocks.swift
has onlythrows
The generate mock into "GeneratedMocks" doesn't have the " same signature as the interface, instead it has
with the following error
Type 'RegistrationServiceProtocolStub' does not conform to protocol 'RegistrationServiceProtocol'
The text was updated successfully, but these errors were encountered: