That's due to a current limitation in Swift where the closure's return type is inferred only if its content is a single expressions.
3 Likes
That's due to a current limitation in Swift where the closure's return type is inferred only if its content is a single expressions.