Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when compiling main in SwiftMocksClient #4

Open
nicofrancken opened this issue Nov 21, 2023 · 0 comments
Open

Issue when compiling main in SwiftMocksClient #4

nicofrancken opened this issue Nov 21, 2023 · 0 comments

Comments

@nicofrancken
Copy link

When compiling the source code I sometimes get the error: "Cannot convert value of type 'String' to closure result type 'Int' (see attached screenshot)

It seems to mixup the InputType and ReturnType generic parameter. If I look at the source code I cannot explain why this is happening. Do you have the same? Do you have any explanation what causes this?

Screenshot 2023-11-21 at 11 12 00

I'm currently in the process of adding async and throwable support to this framework but this bug keeps me from completing the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant