Skip to content

Commit ae660e0

Browse files
committed
Explicitly qualify module name for extensions that add retroactive conformances
1 parent 001cdf7 commit ae660e0

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Sources/Diagnose/IndexCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@ fileprivate extension SourceKitLSPServer {
121121
}
122122
}
123123

124-
extension ExperimentalFeature: ExpressibleByArgument {}
124+
extension ExperimentalFeature: ArgumentParser.ExpressibleByArgument {}

Sources/SKSupport/DocumentURI+CustomLogStringConvertible.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ extension DocumentURI {
2121
return "<DocumentURI length=\(description.count) hash=\(description.hashForLogging)>"
2222
}
2323
}
24-
extension DocumentURI: CustomLogStringConvertible {}
24+
extension DocumentURI: SKLogging.CustomLogStringConvertible {}

Sources/SKTestSupport/TestJSONRPCConnection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ private let testMessageRegistry = MessageRegistry(
202202
notifications: [EchoNotification.self, ShowMessageNotification.self]
203203
)
204204

205-
extension String: ResponseType {}
205+
extension String: LanguageServerProtocol.ResponseType {}
206206

207207
package struct EchoRequest: RequestType {
208208
package static let method: String = "test_server/echo"

Sources/SourceKitLSP/IndexStoreDB+MainFilesProvider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ extension UncheckedIndex {
3434
}
3535
}
3636

37-
extension UncheckedIndex: MainFilesProvider {}
37+
extension UncheckedIndex: BuildSystemIntegration.MainFilesProvider {}

Sources/sourcekit-lsp/SourceKitLSP.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ extension PathPrefixMapping {
8484
)
8585
}
8686
}
87-
extension PathPrefixMapping: ExpressibleByArgument {}
87+
extension PathPrefixMapping: ArgumentParser.ExpressibleByArgument {}
8888

89-
extension SKOptions.BuildConfiguration: ExpressibleByArgument {}
89+
extension SKOptions.BuildConfiguration: ArgumentParser.ExpressibleByArgument {}
9090

91-
extension SKOptions.WorkspaceType: ExpressibleByArgument {}
91+
extension SKOptions.WorkspaceType: ArgumentParser.ExpressibleByArgument {}
9292

9393
@main
9494
struct SourceKitLSP: AsyncParsableCommand {

0 commit comments

Comments
 (0)