We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a060a7 commit 0a87bfdCopy full SHA for 0a87bfd
Sources/SwiftIDEUtils/FixItApplier.swift
@@ -32,7 +32,7 @@ public enum FixItApplier {
32
public static func applyFixes(
33
from diagnostics: [Diagnostic],
34
filterByMessages messages: [String]?,
35
- to tree: any SyntaxProtocol
+ to tree: some SyntaxProtocol
36
) -> String {
37
let messages = messages ?? diagnostics.compactMap { $0.fixIts.first?.message.message }
38
@@ -54,7 +54,7 @@ public enum FixItApplier {
54
/// - Returns: A `String` representation of the modified syntax tree after applying the edits.
55
public static func apply(
56
edits: [SourceEdit],
57
58
59
var edits = edits
60
var source = tree.description
0 commit comments