File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,6 @@ let package = Package(
139
139
dependencies: [
140
140
. package ( url: " https://github.com/swiftlang/swift-syntax.git " , branch: " main " ) ,
141
141
. package ( url: " https://github.com/apple/swift-argument-parser " , from: " 1.5.0 " ) ,
142
- . package ( url: " https://github.com/apple/swift-collections.git " , . upToNextMinor( from: " 1.1.0 " ) ) ,
143
142
. package ( url: " https://github.com/ordo-one/package-benchmark " , . upToNextMajor( from: " 1.4.0 " ) ) ,
144
143
] ,
145
144
targets: [
@@ -309,7 +308,6 @@ let package = Package(
309
308
. product( name: " SwiftSyntax " , package : " swift-syntax " ) ,
310
309
. product( name: " SwiftSyntaxBuilder " , package : " swift-syntax " ) ,
311
310
. product( name: " ArgumentParser " , package : " swift-argument-parser " ) ,
312
- . product( name: " Collections " , package : " swift-collections " ) ,
313
311
" JavaTypes " ,
314
312
] ,
315
313
swiftSettings: [
Original file line number Diff line number Diff line change 15
15
import Foundation
16
16
import JavaTypes
17
17
import SwiftSyntax
18
- import OrderedCollections
19
18
20
19
extension ImportedFunc {
21
20
/// Render a `@{@snippet ... }` comment section that can be put inside a JavaDoc comment
@@ -99,4 +98,4 @@ extension Optional where Wrapped == VariableAccessorKind {
99
98
func renderMethodName( _ decl: ImportedFunc ) -> String {
100
99
self ? . renderMethodName ( decl) ?? decl. baseIdentifier
101
100
}
102
- }
101
+ }
Original file line number Diff line number Diff line change 15
15
import Foundation
16
16
import JavaTypes
17
17
import SwiftSyntax
18
- import OrderedCollections
19
18
20
19
/// Any imported (Swift) declaration
21
20
protocol ImportedDecl {
@@ -254,7 +253,7 @@ public struct ImportedVariable: ImportedDecl, CustomStringConvertible {
254
253
/// Usually this will be all the accessors the variable declares,
255
254
/// however if the getter is async or throwing we may not be able to import it
256
255
/// (yet), and therefore would skip it from the supported set.
257
- public var supportedAccessorKinds : OrderedSet < VariableAccessorKind > = [ . get, . set]
256
+ public var supportedAccessorKinds : [ VariableAccessorKind ] = [ . get, . set]
258
257
259
258
/// This is the base identifier for the function, e.g., "init" for an
260
259
/// initializer or "f" for "f(a:b:)".
You can’t perform that action at this time.
0 commit comments