mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ClangImporter] Imported NS_OPTIONS structs should not conform to BooleanType.
In general, RawOptionSetType no longer inherits from BooleanType. Swift SVN r20846
This commit is contained in:
@@ -193,8 +193,7 @@ public prefix func ~ <T: _RawOptionSetType>(a: T) -> T {
|
||||
}
|
||||
|
||||
// TODO: This is an incomplete implementation of our option sets vision.
|
||||
public protocol RawOptionSetType : _RawOptionSetType, BooleanType,
|
||||
BitwiseOperationsType,
|
||||
public protocol RawOptionSetType : _RawOptionSetType, BitwiseOperationsType,
|
||||
NilLiteralConvertible {
|
||||
// FIXME: Disabled pending <rdar://problem/14011860> (Default
|
||||
// implementations in protocols)
|
||||
|
||||
Reference in New Issue
Block a user