<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div><span></span></div> <div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1469121919344_10328">You probably know this better than me: will the compiler always recognize that what came from "#import/#include <Cocoa/Cocoa.h>" (not @import Cocoa) is the same as what comes from Swift's "import Cocoa"? What about non-module includes?</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1469121919344_10438"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1469121919344_10439">Are we saying that you can always re-import a module and the last import wins, or is that a special case for symbols that come from a C header instead of Swift code?</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1469121919344_10457"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1469121919344_10458">FĂ©lix</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1469121919344_10440"><br><br id="yui_3_16_0_ym19_1_1469121919344_10100"></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1469121919344_10081" style="display: block;"> <div id="yui_3_16_0_ym19_1_1469121919344_10080" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px;"> <div id="yui_3_16_0_ym19_1_1469121919344_10079" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_ym19_1_1469121919344_10094" dir="ltr"><font id="yui_3_16_0_ym19_1_1469121919344_10098" face="Arial" size="2"> On Thursday, July 21, 2016 9:36 AM, Robert Widmann <rwidmann@apple.com> wrote:</font><br class="yiv5416548946" clear="none"></div><div class="y_msg_container" id="yui_3_16_0_ym19_1_1469121919344_10078"><div id="yiv5416548946"><div id="yui_3_16_0_ym19_1_1469121919344_10077"><div id="yui_3_16_0_ym19_1_1469121919344_10076"><div id="yui_3_16_0_ym19_1_1469121919344_10125"><br class="yiv5416548946" clear="none"></div><div id="yui_3_16_0_ym19_1_1469121919344_10126"><br class="yiv5416548946" clear="none"></div><div id="yui_3_16_0_ym19_1_1469121919344_10127">import Cocoa hiding (NSWindow)</div><div id="yui_3_16_0_ym19_1_1469121919344_10189"><br class="yiv5416548946" clear="none"></div><div id="yui_3_16_0_ym19_1_1469121919344_10128">Done. This specific case is one of the reasons why imports are file-local.</div></div><br class="yiv5416548946" clear="none"></div></div><br><br></div> </div> </div> </div></div></body></html>