<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Awesome! :) You are too fast to follow up!<br><br><span style="font-size: 13pt;">- Dennis</span><div><span style="font-size: 13pt;">Sent from my iPhone</span></div></div><div><br>On May 13, 2016, at 7:02 AM, Chris Lattner <<a href="mailto:clattner@apple.com">clattner@apple.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=utf-8">On May 12, 2016, at 12:59 AM, Dennis Weissmann via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:<br class=""><div><blockquote type="cite" class=""><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: 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=""><blockquote type="cite" class=""><div class=""><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: 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;"><blockquote type="cite" class=""><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class=""><pre class="" style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 14px; margin-top: 0px; margin-bottom: 0px; line-height: 1.45; padding: 16px; overflow: auto; background-color: rgb(247, 247, 247); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal; word-break: normal; color: rgb(51, 51, 51);"><span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">let</span> item <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">=</span> DispatchWorkItem(qos: <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">.</span>qosUserInitiated) {
<span class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134, 179);">print</span>(<span class="pl-s" style="box-sizing: border-box; color: rgb(24, 54, 145);"><span class="pl-pds" style="box-sizing: border-box;">"</span>Hello World<span class="pl-pds" style="box-sizing: border-box;">"</span></span>)
}
</pre><div class=""><br class=""></div></div><div class=""><span class="">I’d change the enum case from .qosUserInitiated to .userInitiated (maybe that’s just a typo since in the code example before uses </span>.unspecified).</div></div></div></div></blockquote><div class=""><br class=""></div>I think it is a typo, only default needs to be qosDefault because default is a keyword, and asking all users to back-tick it isn’t really good either.</div><div class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: 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;">(also no one should really specify qos class default anyway).</div></div></blockquote><div class=""><br class=""></div><div class="">Even .default should be okay once <a href="https://github.com/apple/swift-evolution/blob/23da9e94fd9580e59bdae50abf122d3d3c852a8f/proposals/0071-member-keywords.md" class="">SE-0071</a> is implemented.</div></div></div></blockquote></div><br class=""><div class="">SE-0071 is implemented already.</div><div class=""><br class=""></div><div class="">-Chris</div></div></blockquote></body></html>