Closed ahoppen closed 1 month ago
Having the trimmed node be attached to a parent was not intuitive because eg. printing the parent node would have the trimmed trivia missing, most likely forming invalid Swift code.
Motivated by https://github.com/apple/swift-syntax/issues/2687
@swift-ci Please test
Having the trimmed node be attached to a parent was not intuitive because eg. printing the parent node would have the trimmed trivia missing, most likely forming invalid Swift code.
Motivated by https://github.com/apple/swift-syntax/issues/2687