We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b769451 commit 00ad0bbCopy full SHA for 00ad0bb
Sources/lit-test-helper/ClassifiedSyntaxTreePrinter.swift
@@ -41,7 +41,7 @@ extension SyntaxClassification {
41
enum ClassifiedSyntaxTreePrinter {
42
static func print(_ tree: Syntax) -> String {
43
var result = ""
44
- var sourceText = tree.description
+ let sourceText = tree.description
45
let utf8 = sourceText.utf8
46
var skipCheckLine = false
47
for classify in tree.classifications {
0 commit comments