From e4626bf8f473c76eb2a1bc3c3e732149014b9bcb Mon Sep 17 00:00:00 2001 From: maiyama Date: Thu, 15 Jun 2023 14:34:47 +0900 Subject: [PATCH] Fix compile error on tutorial --- .../Documentation.docc/Resources/Formatter.step10.swift | 2 +- .../Documentation.docc/Resources/Formatter.step11.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step10.swift b/Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step10.swift index 3f64b599377..734ea194a96 100644 --- a/Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step10.swift +++ b/Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step10.swift @@ -55,7 +55,7 @@ import Foundation } return sourceFile - .with(\.statements, CodeBlockItemSyntax(formattedStatements)) + .with(\.statements, CodeBlockItemListSyntax(formattedStatements)) } enum Item { diff --git a/Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step11.swift b/Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step11.swift index e017a1d3bc1..79dd9a109b3 100644 --- a/Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step11.swift +++ b/Sources/SwiftSyntax/Documentation.docc/Resources/Formatter.step11.swift @@ -58,7 +58,7 @@ import Foundation } return sourceFile - .with(\.statements, CodeBlockItemSyntax(formattedStatements)) + .with(\.statements, CodeBlockItemListSyntax(formattedStatements)) } enum Item {