> On Dec 18, 2015, at 3:47 AM, Tino Heth via swift-evolution 
> <[email protected]> wrote:
> 
> 
>> _ = pop()
> 
> Now that's what I'd call ugly - I vote against everything that forces me to 
> use more underscores ;-)

“pop()” is an example of the comparatively-rare method that one might want to 
annotate to avoid the warning: the side-effect is useful even if you’re 
dropping the result.  We’re only talking about making warn_unused_result the 
default, not making it the only option.

-Dave



_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to