-
Notifications
You must be signed in to change notification settings - Fork 314
Make the LanguageServerProtocol
module dependency-free
#945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the LanguageServerProtocol
module dependency-free
#945
Conversation
f1f329e
to
f6bce95
Compare
extension DocumentURI: CustomLogStringConvertible { | ||
public var redactedDescription: String { | ||
return "<DocumentURI length=\(description.count) hash=\(description.hashForLogging)>" | ||
} | ||
} | ||
|
||
// MARK: - RequestType | ||
|
||
fileprivate struct AnyRequestType: CustomLogStringConvertible { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW SE-0364 will eventually require these to be marked @retroactive
since they're conformances of external types to external protocols
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I need to address these warnings across the entire codebase. I’ll probably create a PR in the next week or so when I get annoyed by the warnings again.
f6bce95
to
ecb2bf6
Compare
LanguageServerProtocol
module dependency-free 🚥 #937LanguageServerProtocol
module dependency-free
@swift-ci Please test |
Shuffle a few types around so that the `LanguageServerProtocol` has no more dependencies. Fixes swiftlang#938 rdar://117565087
ecb2bf6
to
aa70fc0
Compare
@swift-ci Please test |
@swift-ci Please test Windows |
This seems to have broken the Windows build :/ |
The changes in swiftlang#945 changed the dependencies but did not correct them in the CMakeLists.txt resulting in a broken build.
The changes in swiftlang#945 changed the dependencies but did not correct them in the CMakeLists.txt resulting in a broken build. Resynchronise the dependencies across Package.swift and CMake.
The changes in swiftlang#945 changed the dependencies but did not correct them in the CMakeLists.txt resulting in a broken build. Resynchronise the dependencies across Package.swift and CMake.
The changes in #945 changed the dependencies but did not correct them in the CMakeLists.txt resulting in a broken build. Resynchronise the dependencies across Package.swift and CMake.
Shuffle a few types around so that the
LanguageServerProtocol
has no more dependencies.Fixes #938
rdar://117565087