diff --git a/Package.swift b/Package.swift index ecc077d54..8ce27a0e2 100644 --- a/Package.swift +++ b/Package.swift @@ -29,7 +29,7 @@ let package = Package( .package(url: "https://github.com/sindresorhus/ExceptionCatcher", from: "2.0.0"), .package(url: "https://github.com/nalexn/ViewInspector.git", from: "0.9.1"), .package(url: "https://github.com/apple/swift-argument-parser", .exact("1.0.3")), // For pipeline - .package(url: "https://github.com/apple/swift-syntax.git", .exact("0.50500.0")) + .package(url: "https://github.com/apple/swift-syntax.git", .exact("0.50600.1")) ], targets: [ .target( @@ -53,6 +53,7 @@ let package = Package( .target(name: "SwiftCurrent_CLI", dependencies: [ .product(name: "SwiftSyntax", package: "swift-syntax"), + .product(name: "SwiftSyntaxParser", package: "swift-syntax"), .product(name: "ArgumentParser", package: "swift-argument-parser"), ]), .testTarget( diff --git a/Sources/SwiftCurrent_CLI/Parser/File.swift b/Sources/SwiftCurrent_CLI/Parser/File.swift index 7c33dd7b7..ee0bee544 100644 --- a/Sources/SwiftCurrent_CLI/Parser/File.swift +++ b/Sources/SwiftCurrent_CLI/Parser/File.swift @@ -8,6 +8,7 @@ import Foundation import SwiftSyntax +import SwiftSyntaxParser /// Represents a file that has been parsed by the `IRWalker` public struct File {