-
Notifications
You must be signed in to change notification settings - Fork 470
Use numericCast() to get the correct type when creating a dispatch_bl… #444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use numericCast() to get the correct type when creating a dispatch_bl… #444
Conversation
…ock_flags_t. rdar://problem/44957560
@swift-ci please test |
1 similar comment
@swift-ci please test |
@ktopley-apple swift-ci is down now. Check ci.swift.org. |
*sigh* Sure, I guess. |
Thanks. I was wondering what the delay was. |
I wish there were a better way. So far, we haven't been able to find one. |
@swift-ci please test |
@ktopley-apple sorry CI is offline right now. |
It went down again? Any ETA for return? |
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, thanks for cleaning this up! I learnt about numericCast
afterwards. This is much nicer :-)
It's back online |
Hmm, actually, this is interesting, I am seeing a failure with this change:
|
I really don't understand how this is broken. |
I agree, and it builds successfully in the Swift CI.
… On Feb 12, 2019, at 8:12 AM, Saleem Abdulrasool ***@***.***> wrote:
I really don't understand how this is broken. flags (aka dispatch_flags_t) is a fixed sized enumeration. The rawValue is going to be UInt32 on Windows, which should conform to BinaryInteger ...
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#444 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AYFzK8CCc4LHM-FiFKItMEi_ljYRmu3dks5vMugLgaJpZM4axn7n>.
|
Unfortunately, Swift CI doesn't build for Windows just yet. I've been working on the Foundation bring up for Windows recently, so I am definitely starting to exercise the paths that were not being fully exercised previously. |
I think I get why this fails on Windows, #445 should fix that |
…spatch-block-flags Use numericCast() to get the correct type when creating a dispatch_bl… Signed-off-by: Kim Topley <[email protected]>
…ock_flags_t.
rdar://problem/44957560