Closed gswirski closed 5 years ago
Before this fix, performFunction would incorrectly infer types for callback argument.
performFunction
performFunction(ContinuousCapture.Mode.set, .single) { error, result in }
would throw "Cannot cast (, ) -> () into (Error?, _.ReturnType?) -> Void" error.
Thanks again!
Before this fix,
performFunction
would incorrectly infer types for callback argument.would throw "Cannot cast (, ) -> () into (Error?, _.ReturnType?) -> Void" error.