Skip to content

Commit 9d3d15d

Browse files
committed
Update SwiftSyntax to 508
1 parent 89fbbf0 commit 9d3d15d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let package = Package(
1717
.package(name: "Rainbow", url: "https://github.com/onevcat/Rainbow.git", from: "3.1.5"),
1818
.package(name: "SwiftCLI", url: "https://github.com/jakeheis/SwiftCLI.git", from: "6.0.3"),
1919
.package(name: "Toml", url: "https://github.com/jdfergason/swift-toml.git", .branch("master")),
20-
.package(url: "https://github.com/apple/swift-syntax.git", .branch("0.50700.1")),
20+
.package(url: "https://github.com/apple/swift-syntax.git", from: "508.0.0"),
2121

2222
// A collection of tools for debugging, diffing, and testing your application's data structures.
2323
.package(url: "https://github.com/pointfreeco/swift-custom-dump.git", from: "0.3.0"),

Sources/BartyCrouchKit/FileHandling/SupportedLanguagesReader.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class SupportedLanguagesReader: SyntaxVisitor {
1010
typeName: String
1111
) {
1212
self.typeName = typeName
13+
super.init(viewMode: .sourceAccurate)
1314
}
1415

1516
override func visit(_ enumDeclaration: EnumDeclSyntax) -> SyntaxVisitorContinueKind {

0 commit comments

Comments
 (0)