[swift-evolution] [swift-evolution-announce] [Review] SE-0088: Modernize libdispatch for Swift 3 naming conventions

Dennis Weissmann dennis at dennisweissmann.me
Fri May 13 01:15:56 CDT 2016


Awesome! :) You are too fast to follow up!

- Dennis
Sent from my iPhone

> On May 13, 2016, at 7:02 AM, Chris Lattner <clattner at apple.com> wrote:
> 
> On May 12, 2016, at 12:59 AM, Dennis Weissmann via swift-evolution <swift-evolution at swift.org> wrote:
>>>> let item = DispatchWorkItem(qos: .qosUserInitiated) {
>>>>     print("Hello World")
>>>> }
>>>> 
>>>> I’d change the enum case from .qosUserInitiated to .userInitiated (maybe that’s just a typo since in the code example before uses .unspecified).
>>> 
>>> 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.
>>> (also no one should really specify qos class default anyway).
>> 
>> Even .default should be okay once SE-0071 is implemented.
> 
> SE-0071 is implemented already.
> 
> -Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160513/1e48dfe4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2382 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160513/1e48dfe4/attachment.p7s>


More information about the swift-evolution mailing list