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

Generated code can't compile because mocked function has more than 8 parameters. #145

Closed
ttmdung203 opened this issue Aug 29, 2017 · 1 comment

Comments

@ttmdung203
Copy link

Hi team,

I got a stupid error so that I can't compile the generatedMocks.swift.
Finally I found the root cause is my function has more than 8 input parameters.

public func call<IN1, IN2, IN3, IN4, IN5, IN6, IN7, IN8, OUT>(_ method: String, parameters: (IN1, IN2, IN3, IN4, IN5, IN6, IN7, IN8), original: ((IN1, IN2, IN3, IN4, IN5, IN6, IN7, IN8) -> OUT)? = nil) -> OUT {
        return callInternal(method, parameters: parameters, original: original)
    }
@TadeasKriz
Copy link
Member

Hi @ttmdung203 , this was fixed in 0.10.2. Enjoy! :)

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

2 participants