In swift if you have an exhaustive control branching then you don’t need to provide addition return statements.
The following code compiles correctly in XCode:
In swift if you have an exhaustive control branching then you don’t need to provide addition return statements.
The following code compiles correctly in XCode:
Thanks, logged as bugs://71536
bugs://71536 got closed with status fixed.
The new .1723 build we’ll have out in a couple hours should have this fixed, FWIW.
That’s awesome! Thanks!
Verified this is fixed in 1723.