Skip to content

Commit c8e4c51

Browse files
committed
[JSON] Style and documentation improvements, and cleanups
Update for review comments (cherry picked from commit 17a0c6b)
1 parent 0a590dd commit c8e4c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftCompilerPluginMessageHandling/JSON/JSONEncoding.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private class JSONReference {
5555
guard case .array(var arr) = backing else {
5656
preconditionFailure()
5757
}
58-
backing = .null // Ensure 'err' uniquely referenced.
58+
backing = .null // Ensure 'arr' uniquely referenced.
5959
arr.append(value)
6060
backing = .array(arr)
6161
}

0 commit comments

Comments
 (0)