Skip to content

remove deprecated code #3240

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

Merged
merged 1 commit into from
Feb 9, 2021
Merged

remove deprecated code #3240

merged 1 commit into from
Feb 9, 2021

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Feb 6, 2021

motivation: cleanup

changes:

  • remove check for < macOS 15 which is now the min target
  • remove code deprecated in or before 5.4

motivation: cleanup

changes:
* remove check for < macOS 15 which is now the min target
* remove code deprecated in or before 5.4
@tomerd
Copy link
Contributor Author

tomerd commented Feb 6, 2021

@swift-ci please smoke test

@tomerd tomerd self-assigned this Feb 6, 2021
@tomerd
Copy link
Contributor Author

tomerd commented Feb 6, 2021

@benlangmuir I think this is failing since the delegate on LSP side is has the deprecated methods. can those be removed?

/Users/buildnode/jenkins/workspace/swift-package-manager-PR-macos-smoke-test/branch-main/sourcekit-lsp/Sources/SKSwiftPMWorkspace/SwiftPMWorkspace.swift:449:20: error: type 'BuildSettingProviderWorkspaceDelegate' does not conform to protocol 'WorkspaceDelegate'

@benlangmuir
Copy link
Contributor

@tomerd yes, go ahead and remove them from sourcekit-lsp (or I can do it on Monday). We only have these methods because they were required by the protocol and we only use the protocol because it was required to construct a Workspace.

@tomerd
Copy link
Contributor Author

tomerd commented Feb 8, 2021

Copy link
Contributor

@abertelrud abertelrud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!

@tomerd
Copy link
Contributor Author

tomerd commented Feb 8, 2021

@swift-ci please smoke test

2 similar comments
@tomerd
Copy link
Contributor Author

tomerd commented Feb 8, 2021

@swift-ci please smoke test

@tomerd
Copy link
Contributor Author

tomerd commented Feb 8, 2021

@swift-ci please smoke test

@tomerd tomerd merged commit c2f7eef into swiftlang:main Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants