<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 21, 2016, at 4:55 AM, Pär Strindevall via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hey!<br class=""><div class=""><br class=""></div><div class="">I got sick of having to assign unused results with <font face="Menlo" class="">_ =</font> when using Objective-C dependencies so I decided to fork and fix the one I was using before finishing the line. When I searched for solutions to the problem I stumbled upon SE-0047 here:&nbsp;<a href="https://bugs.swift.org/browse/SR-1052" class="">https://bugs.swift.org/browse/SR-1052</a></div><div class=""><br class=""></div><div class="">I noted that suggested patch 3 was to change the clang importer to attach <font face="Menlo" class="">@discardableResult</font> automatically to imported declarations like the one I was using. Did this not happen? Is there any way for me to suppress the warnings that flood Xcode when not assigning unused results to nada if the dependency I’m bleep-blooping with is implemented in Objective-C?</div></div></div></blockquote><br class=""></div><div>Hi Pär,</div><div><br class=""></div><div>I’m confused what you’re saying. &nbsp;If I understand you correctly, you’re saying that you’re interfacing with ObjC code and getting a bunch of warnings saying that you’re ignoring the results of calls to these functions. &nbsp;If that is the case, then there is certainly a compiler bug at work. &nbsp;Can you provide an example that reproduces this behavior? &nbsp;If I’m misunderstanding the situation, please clarify. &nbsp;Thanks!</div><div><br class=""></div><div>-Chris</div><br class=""></body></html>