<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></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 Nov 13, 2017, at 6:00 AM, Brent Royal-Gordon via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><blockquote type="cite" class=""><div class="">On Nov 11, 2017, at 2:59 PM, Mohammed Ennabah via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><ul class="MailOutline"><li class="">I dug into the codebase as stated in the steps you mentioned, and tried to change one of the errors to see if it really change when I use Swift REPL, but nothing changed. Is it possible that I change something and directly affect the Swift compiler? (maybe I need to do a build first? Or maybe related to xcode-select?)</li></ul></div></div></blockquote><div class=""><br class=""></div><div class="">If you just type "swift" at the command line, you'll run the version of Swift built into Xcode. You will need to build Swift first ("utils/build-script" is the easiest way, but not the fastest), and you will also need to run the version of the Swift interpreter you just built. You can do that with a command like:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>../build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swift</div><div class=""><br class=""></div><div class="">(The path will be a little different if you use the "-x" flag to build-script, which generates an Xcode project, albeit one that's a pain to use.)</div></div></div></div></blockquote><div dir="auto" class=""><br class=""></div><div dir="auto" class="">If you're in Xcode, you can also put code that will trigger whatever you're working on in one or more files and pass them to the compiler via the "Arguments Passed On Launch" setting in the "Arguments" tab of "Run" section of&nbsp;the relevant scheme ("swift", in this case), by clicking the scheme menu (in the top of the project window, just to the right of the button with the stop icon) and selecting "Edit Scheme...". That all&nbsp;<i class="">sounds</i>&nbsp;confusing but isn't that bad... if we could embed images, it'd take all of 5 seconds to see what I'm talking about (pun intended, naturally).</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">For example, I've been working on SR-4102 lately, so I've got the scheme set to pass "/path/to/my/swift/files/TestProjects/SR-4102/SR-4102/main.swift".</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">- Dave Sweeris</div></div><br class=""></body></html>