<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Hi Xi Ge,</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I just tried the swift-2.2-SNAPSHOT-2016-01-11-a-osx.pkg with Xcode 7.2 (7C68). The results is still the same, should I wait for another snapshot as this one is not included your patch?</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">My steps:</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">1 download swift-2.2-SNAPSHOT-2016-01-11-a-osx.pkg, install it</div><div class="gmail_default" style="font-family:georgia,serif">2 command line, run `<span style="font-family:Menlo;font-size:11px">xcrun launch-with-toolchain /Library/Developer/Toolchains/swift-latest.xctoolchain`</span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:Menlo;font-size:11px">3 rebuild the plugin, quit xcode</span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:Menlo;font-size:11px">4 open xcode with the command line</span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:Menlo;font-size:11px">5 open the project which contains the test code </span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:Menlo;font-size:11px"><br></span></div><div class="gmail_default"><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">struct Person {</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">    var name:String</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">    </span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">    init(aName:String) {</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">        <a href="http://self.name">self.name</a> = aName</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">    }</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">}</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"><br></span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">func testOnly() {</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">    let john = Person(aName: &quot;John&quot;)</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">    </span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">    print(john)</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">}</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"><br></span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">6 clean and rebuild the project</span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px"><br></span></font></div><div class="gmail_default"><font face="Menlo"><span style="font-size:11px">zhaoxin</span></font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 3:35 AM, Xi Ge <span dir="ltr">&lt;<a href="mailto:xi_ge@apple.com" target="_blank">xi_ge@apple.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">HI Xin,<div>I have fixed this crash in open source Swift. Please let me know if the progress unlocks your refactoring support.</div><div>cheers</div><div><span class="HOEnZb"><font color="#888888">Xi</font></span><div><div class="h5"><br><div><br></div><div><br><div><blockquote type="cite"><div>On Jan 9, 2016, at 6:45 PM, 肇鑫 &lt;<a href="mailto:owenzx@gmail.com" target="_blank">owenzx@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Thanks. Refactor really makes working much easier. Looking forward to the progress.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">zhaoxin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 10, 2016 at 5:37 AM, Xi Ge <span dir="ltr">&lt;<a href="mailto:xi_ge@apple.com" target="_blank">xi_ge@apple.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Xin,<div>I tried the case you gave here and got a SourceKit crash  in the line of &quot;<a href="http://self.name/" target="_blank">self.name</a> = aName” when querying cursor info. I will get into this by Monday. </div><div>Thanks for letting us know!</div><div>Xi</div><div><br><div><blockquote type="cite"><div>On Jan 9, 2016, at 1:15 PM, 肇鑫 via swift-dev &lt;<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>&gt; wrote:</div><br><div><span style="font-family:georgia,serif;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">SourceKit</span></div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><br>Owen Zhao<br></div></div></div>
</div>
</div></blockquote></div><br></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><br>Owen Zhao<br></div></div></div>
</div>