Skip to content

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Aug 23, 2025

This PR is failed with swift-syntax.

EditRefactoringProvider.textRefactor and EditRefactoringProvider.refactor requirements are now throwing and produce a non-optional type.

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small nitpick, otherwise LGTM.

`EditRefactoringProvider.textRefactor` and `EditRefactoringProvider.refactor`
requirements are now throwing and produce a non-optional type.
@xedin
Copy link
Contributor Author

xedin commented Aug 25, 2025

swiftlang/swift-syntax#3142
@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Aug 25, 2025

swiftlang/swift-syntax#3142
@swift-ci please test Windows platform

}

let sourceEdits = Self.textRefactor(syntax: node)
guard let sourceEdits = try? Self.textRefactor(syntax: node) else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahoppen I assume this runs on cursor movement generally and thus logging the reasons here would be too spammy?

@xedin xedin merged commit 3274349 into swiftlang:main Aug 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants