From 5cf96303351c11e7fdb3d3ac4b7cb2e3551bb03d Mon Sep 17 00:00:00 2001 From: Morgan Zellers Date: Fri, 8 Apr 2022 13:00:51 -0500 Subject: [PATCH] Upping version of SwiftSyntax in the CLI to lastest. --- Package.swift | 3 ++- Sources/SwiftCurrent_CLI/Parser/File.swift | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 {