<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="">Hi Xin,<div class="">It seems that the cursor info crash is not your blocker : ( Could you point me to the refactoring plugin source? I can investigate better if I know which SourceKit request is used by it.</div><div class="">Thanks</div><div class="">Xi <br class=""><div class=""><div><blockquote type="cite" class=""><div class="">On Jan 12, 2016, at 5:58 PM, 肇鑫 <<a href="mailto:owenzx@gmail.com" class="">owenzx@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_default" style="font-family: georgia, serif;">Hi Xi Ge,</div><div class="gmail_default" style="font-family: georgia, serif;"><br class=""></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 class=""></div><div class="gmail_default" style="font-family: georgia, serif;">My steps:</div><div class="gmail_default" style="font-family: georgia, serif;"><br class=""></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;" class="">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;" class="">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;" class="">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;" class="">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;" class=""><br class=""></span></div><div class="gmail_default"><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class="">struct Person {</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""> var name:String</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""> </span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""> init(aName:String) {</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""> <span class="Apple-converted-space"> </span><a href="http://self.name/" class="">self.name</a><span class="Apple-converted-space"> </span>= aName</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""> }</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class="">}</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class="">func testOnly() {</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""> let john = Person(aName: "John")</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""> </span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""> print(john)</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class="">}</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class="">6 clean and rebuild the project</span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div class="gmail_default"><font face="Menlo" class=""><span style="font-size: 11px;" class="">zhaoxin</span></font></div></div></div><div class="gmail_extra" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""><div class="gmail_quote">On Tue, Jan 12, 2016 at 3:35 AM, Xi Ge<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:xi_ge@apple.com" target="_blank" class="">xi_ge@apple.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div style="word-wrap: break-word;" class="">HI Xin,<div class="">I have fixed this crash in open source Swift. Please let me know if the progress unlocks your refactoring support.</div><div class="">cheers</div><div class=""><span class="HOEnZb"><font color="#888888" class="">Xi</font></span><div class=""><div class="h5"><br class=""><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 9, 2016, at 6:45 PM, 肇鑫 <<a href="mailto:owenzx@gmail.com" target="_blank" class="">owenzx@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class=""><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 class=""></div><div class="gmail_default" style="font-family: georgia, serif;">zhaoxin</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Sun, Jan 10, 2016 at 5:37 AM, Xi Ge<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:xi_ge@apple.com" target="_blank" class="">xi_ge@apple.com</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div style="word-wrap: break-word;" class="">Hi Xin,<div class="">I tried the case you gave here and got a SourceKit crash in the line of "<a href="http://self.name/" target="_blank" class="">self.name</a> = aName” when querying cursor info. I will get into this by Monday. </div><div class="">Thanks for letting us know!</div><div class="">Xi</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jan 9, 2016, at 1:15 PM, 肇鑫 via swift-dev <<a href="mailto:swift-dev@swift.org" target="_blank" class="">swift-dev@swift.org</a>> wrote:</div><br class=""><div class=""><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;" class="">SourceKit</span></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class=""><div dir="ltr" class=""><div class=""><br class="">Owen Zhao<br class=""></div></div></div></div></div></blockquote></div><br class=""></div></div></div></div></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><br class="">Owen Zhao</div></div></div></div></div></blockquote></div><br class=""></div></div></body></html>