File tree 1 file changed +3
-3
lines changed
Source/SourceKittenFramework
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public protocol SourceKitObjectConvertible {
20
20
extension Array : SourceKitObjectConvertible {
21
21
public var sourcekitdObject : sourcekitd_object_t ? {
22
22
guard Element . self is SourceKitObjectConvertible . Type else {
23
- fatalError ( " Array confirms to SourceKitObjectConvertible when Elements is SourceKitObjectConvertible! " )
23
+ fatalError ( " Array conforms to SourceKitObjectConvertible when Elements is SourceKitObjectConvertible! " )
24
24
}
25
25
let objects : [ sourcekitd_object_t ? ] = map { ( $0 as! SourceKitObjectConvertible ) . sourcekitdObject }
26
26
return sourcekitd_request_array_create ( objects, objects. count)
@@ -35,10 +35,10 @@ extension Dictionary: SourceKitObjectConvertible {
35
35
} else if Key . self is String . Type {
36
36
keys = self . keys. map { UID ( $0 as! String ) . uid }
37
37
} else {
38
- fatalError ( " Dictionary confirms to SourceKitObjectConvertible when `Key` is `UID` or `String`! " )
38
+ fatalError ( " Dictionary conforms to SourceKitObjectConvertible when `Key` is `UID` or `String`! " )
39
39
}
40
40
guard Value . self is SourceKitObjectConvertible . Type else {
41
- fatalError ( " Dictionary confirms to SourceKitObjectConvertible when `Value` is `SourceKitObjectConvertible`! " )
41
+ fatalError ( " Dictionary conforms to SourceKitObjectConvertible when `Value` is `SourceKitObjectConvertible`! " )
42
42
}
43
43
let values : [ sourcekitd_object_t ? ] = self . map { ( $0. value as! SourceKitObjectConvertible ) . sourcekitdObject }
44
44
return sourcekitd_request_dictionary_create ( keys, values, count)
You can’t perform that action at this time.
0 commit comments