@@ -405,7 +405,7 @@ extension SetAlgebra {
405
405
/// // Prints "[6, 0, 1, 3]"
406
406
///
407
407
/// - Parameter sequence: The elements to use as members of the new set.
408
- @inlinable // FIXME(sil-serialize-all)
408
+ @inlinable // protocol-only
409
409
public init < S : Sequence > ( _ sequence: S )
410
410
where S. Element == Element {
411
411
self . init ( )
@@ -425,7 +425,7 @@ extension SetAlgebra {
425
425
/// // Prints "["Diana", "Chris", "Alicia"]"
426
426
///
427
427
/// - Parameter other: A set of the same type as the current set.
428
- @inlinable // FIXME(sil-serialize-all)
428
+ @inlinable // protocol-only
429
429
public mutating func subtract( _ other: Self ) {
430
430
self . formIntersection ( self . symmetricDifference ( other) )
431
431
}
@@ -443,7 +443,7 @@ extension SetAlgebra {
443
443
///
444
444
/// - Parameter other: A set of the same type as the current set.
445
445
/// - Returns: `true` if the set is a subset of `other`; otherwise, `false`.
446
- @inlinable // FIXME(sil-serialize-all)
446
+ @inlinable // protocol-only
447
447
public func isSubset( of other: Self ) -> Bool {
448
448
return self . intersection ( other) == self
449
449
}
@@ -462,7 +462,7 @@ extension SetAlgebra {
462
462
/// - Parameter other: A set of the same type as the current set.
463
463
/// - Returns: `true` if the set is a superset of `other`; otherwise,
464
464
/// `false`.
465
- @inlinable // FIXME(sil-serialize-all)
465
+ @inlinable // protocol-only
466
466
public func isSuperset( of other: Self ) -> Bool {
467
467
return other. isSubset ( of: self )
468
468
}
@@ -481,7 +481,7 @@ extension SetAlgebra {
481
481
/// - Parameter other: A set of the same type as the current set.
482
482
/// - Returns: `true` if the set has no elements in common with `other`;
483
483
/// otherwise, `false`.
484
- @inlinable // FIXME(sil-serialize-all)
484
+ @inlinable // protocol-only
485
485
public func isDisjoint( with other: Self ) -> Bool {
486
486
return self . intersection ( other) . isEmpty
487
487
}
@@ -500,13 +500,13 @@ extension SetAlgebra {
500
500
///
501
501
/// - Parameter other: A set of the same type as the current set.
502
502
/// - Returns: A new set.
503
- @inlinable // FIXME(sil-serialize-all)
503
+ @inlinable // protocol-only
504
504
public func subtracting( _ other: Self ) -> Self {
505
505
return self . intersection ( self . symmetricDifference ( other) )
506
506
}
507
507
508
508
/// A Boolean value that indicates whether the set has no elements.
509
- @inlinable // FIXME(sil-serialize-all)
509
+ @inlinable // protocol-only
510
510
public var isEmpty : Bool {
511
511
return self == Self ( )
512
512
}
@@ -530,7 +530,7 @@ extension SetAlgebra {
530
530
/// - Parameter other: A set of the same type as the current set.
531
531
/// - Returns: `true` if the set is a strict superset of `other`; otherwise,
532
532
/// `false`.
533
- @inlinable // FIXME(sil-serialize-all)
533
+ @inlinable // protocol-only
534
534
public func isStrictSuperset( of other: Self ) -> Bool {
535
535
return self . isSuperset ( of: other) && self != other
536
536
}
@@ -554,7 +554,7 @@ extension SetAlgebra {
554
554
/// - Parameter other: A set of the same type as the current set.
555
555
/// - Returns: `true` if the set is a strict subset of `other`; otherwise,
556
556
/// `false`.
557
- @inlinable // FIXME(sil-serialize-all)
557
+ @inlinable // protocol-only
558
558
public func isStrictSubset( of other: Self ) -> Bool {
559
559
return other. isStrictSuperset ( of: self )
560
560
}
@@ -579,7 +579,7 @@ extension SetAlgebra where Element == ArrayLiteralElement {
579
579
/// // Prints "Whatever it is, it's bound to be delicious!"
580
580
///
581
581
/// - Parameter arrayLiteral: A list of elements of the new set.
582
- @inlinable // FIXME(sil-serialize-all)
582
+ @inlinable // protocol-only
583
583
public init ( arrayLiteral: Element ... ) {
584
584
self . init ( arrayLiteral)
585
585
}
0 commit comments