Skip to content

[ASTGen/MacroEvaluation] Fix and adjust FixIt application #78670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jan 16, 2025

  • Fix mismatch on FixIt.Change.replace between several application implementations. Specifically .replace should includes the trivia.
  • Ignore no-op FixIt.Change.replace{Leading|Trailing}Triviia.

@rintaro
Copy link
Member Author

rintaro commented Jan 16, 2025

swiftlang/swift-syntax#2941
@swift-ci Please smoke test

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.

Thank you!

* Fix mismatch on 'FixIt.Change.replace' between several application
  implementations. Specifically '.replace' should includes the trivia.
* Ignore no-op 'FixIt.Change.replace{Leading|Trailing}Triviia'.
@rintaro rintaro force-pushed the swiftdiags-replace-trivia branch from 08bc2f0 to f3329b3 Compare January 16, 2025 18:04
@rintaro
Copy link
Member Author

rintaro commented Jan 16, 2025

swiftlang/swift-syntax#2941
@swift-ci Please smoke test

@rintaro
Copy link
Member Author

rintaro commented Jan 16, 2025

@rintaro
Copy link
Member Author

rintaro commented Jan 17, 2025

1 similar comment
@rintaro
Copy link
Member Author

rintaro commented Jan 21, 2025

@rintaro
Copy link
Member Author

rintaro commented Jan 21, 2025

1 similar comment
@rintaro
Copy link
Member Author

rintaro commented Jan 22, 2025

@rintaro rintaro merged commit 99ba4b5 into swiftlang:main Jan 22, 2025
3 of 5 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.

2 participants