title: SwiftUI Why does "return" causes "Unable to infer complex closure return type; add explicit type to disambiguate"
body: <p>I don't understand why this error happened <a href="https://i.stack.imgur.com/kq4Pn.png" rel="nofollow noreferrer">Unable to infer complex closure return type</a>
  <br />
  But after I remove <code>return</code> it works completely fine <a href="https://i.stack.imgur.com/17Oph.png" rel="nofollow noreferrer">without it</a><br />
  Can someone explain what happened here, I thought we can only use implicit return when there is only a single line for that closure.</p>