Skip to content

Commit 403a7dc

Browse files
authored
Merge pull request #64960 from ahoppen/ahoppen/5.9/fixit
[5.9] Adjustments for how Fix-It changes are represented by SwiftSyntax
2 parents 1fd3fe8 + 1754400 commit 403a7dc

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

@@ -231,7 +231,7 @@ extension SourceManager {
231231
severity: .note,
232232
node: diagnostic.node,
233233
position: diagnostic.position,
234-
fixItChanges: fixIt.changes.changes
234+
fixItChanges: fixIt.changes
235235
)
236236
}
237237

0 commit comments

Comments
 (0)