@@ -34,28 +34,29 @@ var x: Int
34
34
// CHECK1-NEXT: s:Si
35
35
// CHECK1-NEXT: Int.Type
36
36
// CHECK1-NEXT: Swift{{$}}
37
- // CHECK1-NEXT: <Group>FixedPoint </Group>
37
+ // CHECK1-NEXT: <Group>Misc </Group>
38
38
// CHECK1-NEXT: /<interface-gen>{{$}}
39
39
// CHECK1-NEXT: SYSTEM
40
40
// CHECK1-NEXT: <Declaration>struct Int : <Type usr="s:Ps17SignedIntegerType">SignedIntegerType</Type>{{.*}}{{.*}}<Type usr="s:Ps10Comparable">Comparable</Type>{{.*}}<Type usr="s:Ps9Equatable">Equatable</Type>{{.*}}</Declaration>
41
41
42
42
// RUN: %sourcekitd-test -req=module-groups -module Swift | FileCheck -check-prefix=GROUP1 %s
43
43
// GROUP1: <GROUPS>
44
- // GROUP1: Algorithm
45
- // GROUP1: Assert
46
- // GROUP1: Character
47
- // GROUP1: Collection
48
- // GROUP1: FlatMap
49
- // GROUP1: OutputStream
50
- // GROUP1: String
51
- // GROUP1: Zip
44
+ // GROUP1-DAG: Algorithm
45
+ // GROUP1-DAG: Assert
46
+ // GROUP1-DAG: String
47
+ // GROUP1-DAG: Collection
48
+ // GROUP1-DAG: Bool
49
+ // GROUP1-DAG: Math
50
+ // GROUP1-DAG: Misc
52
51
// GROUP1: <\GROUPS>
53
52
54
- // RUN: %sourcekitd-test -req=interface-gen -module Swift -group-name Zip > %t.zip.response
55
- // RUN: FileCheck -check-prefix=CHECK-ZIP -input-file %t.zip.response %s
56
- // CHECK-ZIP: public func zip<Sequence1 : SequenceType, Sequence2 : SequenceType>(sequence1: Sequence1, _ sequence2: Sequence2) -> Zip2Sequence<Sequence1, Sequence2>
57
- // CHECK-ZIP: public struct Zip2Generator<Generator1 : GeneratorType, Generator2 : GeneratorType> : GeneratorType {
58
- // CHECK-ZIP: public struct Zip2Sequence<Sequence1 : SequenceType, Sequence2 : SequenceType> : SequenceType {
59
- // Zip group cannot include Int
60
- // CHECK-ZIP-NOT: struct Int : SignedIntegerType, Comparable, Equatable {
61
- // CHECK-ZIP-NOT: extension String.UTF16View.Index {
53
+ // RUN: %sourcekitd-test -req=interface-gen -module Swift -group-name Bool > %t.Bool.response
54
+ // RUN: FileCheck -check-prefix=CHECK-BOOL -input-file %t.Bool.response %s
55
+ // CHECK-BOOL-DAG: extension Bool : BooleanType {
56
+ // CHECK-BOOL-DAG: extension Bool : BooleanLiteralConvertible {
57
+
58
+ // These are not in the bool group:
59
+ // CHECK-BOOL-NOT: public struct Zip2Generator<Generator1 : GeneratorType, Generator2 : GeneratorType> : GeneratorType {
60
+ // CHECK-BOOL-NOT: public struct Zip2Sequence<Sequence1 : SequenceType, Sequence2 : SequenceType> : SequenceType {
61
+ // CHECK-BOOL-NOT: struct Int : SignedIntegerType, Comparable, Equatable {
62
+ // CHECK-BOOL-NOT: extension String.UTF16View.Index {
0 commit comments