Skip to content

[ghc-9.2] Fix rename plugin#2593

Merged
mergify[bot] merged 5 commits into
masterfrom
fix-rename-plugin
Jan 16, 2022
Merged

[ghc-9.2] Fix rename plugin#2593
mergify[bot] merged 5 commits into
masterfrom
fix-rename-plugin

Conversation

@pepeiborra

@pepeiborra pepeiborra commented Jan 15, 2022

Copy link
Copy Markdown
Collaborator

The rename plugin relies on SYB to find located AST trees that need renaming. This breaks in GHC 9.2 because the representation of located AST trees has changed: it now includes exactprint annotations.

To make the rename plugin work in 9.2, we need to adjust the SYB queries to look for the new located AST types.

@pepeiborra
pepeiborra marked this pull request as ready for review January 16, 2022 18:06

@jneira jneira left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm, one more plugin for ghc-9.2.1, yay!

@jneira jneira added the merge me Label to trigger pull request merge label Jan 16, 2022
@mergify
mergify Bot merged commit 87fb2e0 into master Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge me Label to trigger pull request merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants