<div dir="ltr"><div>I've now installed 2017-12-05 snapshot and can confirm that it too works for me.</div><div>In more detail:</div><div><br></div><div>1. Install swift-DEVELOPMENT-SNAPSHOT-2017-12-05-a-osx.pkg</div><div><br></div><div>2. Restart Xcode (I'm using Xcode 9.2 (9C40b))</div><div> (I guess it shouldn't be necessary to restart, but I think it might be ...)<br></div><div><br></div><div>3. Create a new command line project.</div><div><br></div><div>4. Put <span style="color:rgb(80,0,80);font-size:12.800000190734863px">-enable-experimental-</span><wbr style="color:rgb(80,0,80);font-size:12.800000190734863px"><span style="color:rgb(80,0,80);font-size:12.800000190734863px">conditional-conformances in Other Swift Flags in the project's Build Settings.</span></div><div><br></div><div>5. Enter the following code in main.swift and Build (which works without errors):</div><div><br></div><div><div>protocol P {}</div><div>struct S<T> {}</div><div>extension S: P where T: P {}</div></div><div><br></div><div><br></div>Regarding step 2. I'm not 100% sure, but I think that it might be necessary to restart Xcode after installing a new snapshot, because even if the new snapshot can be selected from the toolchains menu, it doesn't take affect until after restarting Xcode. I'm always restarting Xcode after installing and selecting a new toolchain. Someone please correct me if you can prove that this isn't necessary.<div><br></div><div>/Jens</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 6, 2017 at 7:48 AM, Jens Persson via swift-users <span dir="ltr"><<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr">It works for me with Xcode 9.1 and 9.2 using latest dev snapshot (from 2017-11-28 and 2017-12-03), I added -enable-experimental-<wbr>conditional-conformances in Other Swift Flags as you show in the screenshot.<div>/Jens</div></div></span><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Dec 6, 2017 at 4:32 AM, Matt Whiteside via swift-users <span dir="ltr"><<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word">Hello Swift Users,<div><br></div><div>[This is a resend with smaller attachment] Has anyone had luck passing the new '-enable-experimental-conditio<wbr>nal-conformances' flag to Xcode? It works when I run swift from the command line, with the Dec. 5th snapshot toolchain, but not Xcode. I have tried whats in the screenshot below as well as adding -Xfrontend, but I’m still getting the usual ‘extension of protocol cannot have an inheritance clause’ error:</div><div><br></div><div>Thanks for any suggestions on this,</div><div><br></div><div>Matt</div><div><br></div><div><br></div><div><img id="m_7305302252603304130m_-4034425969619155590B86F9CEE-0F98-4C56-A133-5BC8E7547DA9" width="982" height="177" src="cid:557DE12E-FFE6-489B-B789-AFCF8A44EB91"></div><div><br></div><div><br></div></div><br></div></div><span class="">______________________________<wbr>_________________<br>
swift-users mailing list<br>
<a href="mailto:swift-users@swift.org" target="_blank">swift-users@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-users" rel="noreferrer" target="_blank">https://lists.swift.org/mailma<wbr>n/listinfo/swift-users</a><br>
<br></span></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
swift-users mailing list<br>
<a href="mailto:swift-users@swift.org">swift-users@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-users" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-users</a><br>
<br></blockquote></div><br></div>