You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason `numericCast` does not permit casting the flags value:
~~~
S:\SourceCache\swift-corelibs-libdispatch\src\swift\Block.swift:46:39: error: global function 'numericCast' requires that 'dispatch_block_flags_t' conform to 'BinaryInteger'
let flags: dispatch_block_flags_t = numericCast(flags.rawValue)
^
Swift.numericCast:1:24: note: where 'U' = 'dispatch_block_flags_t'
@inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
^
S:\SourceCache\swift-corelibs-libdispatch\src\swift\Block.swift:46:39: note: did you mean to use '.rawValue'?
let flags: dispatch_block_flags_t = numericCast(flags.rawValue)
^
.rawValue
~~~
0 commit comments