We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This will cause the whole app crash since the type construct by the builder doesn't match the output result type.
Please prevent return any tuple type or name your tuple as describe in workaround below.
let capture = HTML { Capture("h1") { e -> (String, Int) in return (e.textContent, 1) } Capture("#hello") { e -> (String, test: Int) in return (e.textContent, 2) } } // expected output type: ((String, Int), (String, test: Int)) // actual output type: (String, Int, (String, test: Int))
Workaround:
let capture = HTML { Capture("h1") { e -> (String, test: Int) in return (e.textContent, 1) } Capture("#hello") { e -> (String, test: Int) in return (e.textContent, 2) } } // output type: ((String, test: Int), (String, test: Int))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This will cause the whole app crash since the type construct by the builder doesn't match the output result type.
Please prevent return any tuple type or name your tuple as describe in workaround below.
Workaround:
The text was updated successfully, but these errors were encountered: