[swift-evolution] Make non-void functions @warn_unused_result by default

Dave Abrahams dabrahams at apple.com
Thu Feb 25 17:51:53 CST 2016


on Wed Feb 24 2016, Gwendal Roué <swift-evolution at swift.org> wrote:

> Oh yes please, don't rush on this...
>
> Who do we want to help here? API users, or API developers?

In this case, both.  It's too easy to leave off an @warn_unused_result
and thereby fail to help your users.

-- 
-Dave



More information about the swift-evolution mailing list