Skip to content

Commit 95d9684

Browse files
committed
Adjustments for how Fix-It changes are represented by SwiftSyntax
1 parent e219699 commit 95d9684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ASTGen/Sources/ASTGen/Diagnostics.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func emitDiagnostic(
110110
message: fixIt.message.message,
111111
severity: .note,
112112
position: diagnostic.position,
113-
fixItChanges: fixIt.changes.changes
113+
fixItChanges: fixIt.changes
114114
)
115115
}
116116

@@ -228,7 +228,7 @@ extension SourceManager {
228228
severity: .note,
229229
node: diagnostic.node,
230230
position: diagnostic.position,
231-
fixItChanges: fixIt.changes.changes
231+
fixItChanges: fixIt.changes
232232
)
233233
}
234234

0 commit comments

Comments
 (0)