Skip to content

Commit 3ad450f

Browse files
committed
Add release note for Trivia.commentValue
1 parent 26c6460 commit 3ad450f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Release Notes/602.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## New APIs
44

5+
- `Trivia` has a new `commentValue` property.
6+
- Description: Extracts sanitized comment text from comment trivia pieces, omitting leading comment markers (`//`, `///`, `/*`, `*/`).
7+
- Pull Request: https://github.com/swiftlang/swift-syntax/pull/2966
8+
59
## API Behavior Changes
610

711
## Deprecations

0 commit comments

Comments
 (0)