From 671eec1f1f879083e35848d01efda10c211a8dbe Mon Sep 17 00:00:00 2001 From: Doug Gregor Date: Fri, 1 Dec 2023 10:48:46 -0800 Subject: [PATCH 1/2] Add release note for CodeBlockSyntax becoming SyntaxParseable. --- Release Notes/511.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Release Notes/511.md b/Release Notes/511.md index fd03ecf4139..bd8638cf711 100644 --- a/Release Notes/511.md +++ b/Release Notes/511.md @@ -24,6 +24,10 @@ - Description: A trait for syntax nodes that have an optional code block, such as `FunctionDeclSyntax` and `InitializerDeclSyntax`. - Pull Request: https://github.com/apple/swift-syntax/pull/2359 +- `CodeBlockSyntax` + - Description: `CodeBlockSyntax` is now `SyntaxParseable`, so it can be used with string interpolations. + - Pull Request: https://github.com/apple/swift-syntax/pull/2361 + ## API Behavior Changes ## Deprecations From 38c954e7a18466bf0283aac0d7d8dc17cae1cf85 Mon Sep 17 00:00:00 2001 From: Doug Gregor Date: Fri, 1 Dec 2023 11:06:30 -0800 Subject: [PATCH 2/2] Update Release Notes/511.md Co-authored-by: Ben Barham --- Release Notes/511.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Release Notes/511.md b/Release Notes/511.md index bd8638cf711..bcc3542a0ed 100644 --- a/Release Notes/511.md +++ b/Release Notes/511.md @@ -25,7 +25,7 @@ - Pull Request: https://github.com/apple/swift-syntax/pull/2359 - `CodeBlockSyntax` - - Description: `CodeBlockSyntax` is now `SyntaxParseable`, so it can be used with string interpolations. + - Description: `CodeBlockSyntax` is now `SyntaxParseable`, so it can be used with string interpolations. - Pull Request: https://github.com/apple/swift-syntax/pull/2361 ## API Behavior Changes