Skip to content

Commit 68432ea

Browse files
committed
[SwiftRefactor] PackageManifest: Remove an outdated TODO that is no longer applicable
1 parent fb6939c commit 68432ea

File tree

5 files changed

+0
-15
lines changed

5 files changed

+0
-15
lines changed

Sources/SwiftRefactor/PackageManifest/AddPackageDependency.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ public struct AddPackageDependency: ManifestEditRefactoringProvider {
2626

2727
/// The set of argument labels that can occur after the "dependencies"
2828
/// argument in the Package initializers.
29-
///
30-
/// TODO: Could we generate this from the the PackageDescription module, so
31-
/// we don't have keep it up-to-date manually?
3229
private static let argumentLabelsAfterDependencies: Set<String> = [
3330
"targets",
3431
"swiftLanguageVersions",

Sources/SwiftRefactor/PackageManifest/AddPackageTarget.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ public struct AddPackageTarget: ManifestEditRefactoringProvider {
2828

2929
/// The set of argument labels that can occur after the "targets"
3030
/// argument in the Package initializers.
31-
///
32-
/// TODO: Could we generate this from the the PackageDescription module, so
33-
/// we don't have keep it up-to-date manually?
3431
private static let argumentLabelsAfterTargets: Set<String> = [
3532
"swiftLanguageVersions",
3633
"cLanguageStandard",

Sources/SwiftRefactor/PackageManifest/AddPluginUsage.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ public struct AddPluginUsage: ManifestEditRefactoringProvider {
2929

3030
/// The set of argument labels that can occur after the "plugins"
3131
/// argument in the Target initializers. (There aren't any right now)
32-
///
33-
/// TODO: Could we generate this from the the PackageDescription module, so
34-
/// we don't have keep it up-to-date manually?
3532
private static let argumentLabelsAfterPluginUsages: Set<String> = []
3633

3734
/// Produce the set of source edits needed to add the given package

Sources/SwiftRefactor/PackageManifest/AddProduct.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ public struct AddProduct: ManifestEditRefactoringProvider {
2525
}
2626
/// The set of argument labels that can occur after the "products"
2727
/// argument in the Package initializers.
28-
///
29-
/// TODO: Could we generate this from the the PackageDescription module, so
30-
/// we don't have keep it up-to-date manually?
3128
private static let argumentLabelsAfterProducts: Set<String> = [
3229
"dependencies",
3330
"targets",

Sources/SwiftRefactor/PackageManifest/AddTargetDependency.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ public struct AddTargetDependency: ManifestEditRefactoringProvider {
3131

3232
/// The set of argument labels that can occur after the "dependencies"
3333
/// argument in the various target initializers.
34-
///
35-
/// TODO: Could we generate this from the the PackageDescription module, so
36-
/// we don't have keep it up-to-date manually?
3734
private static let argumentLabelsAfterDependencies: Set<String> = [
3835
"path",
3936
"exclude",

0 commit comments

Comments
 (0)