Skip to content

Fix after visitor cursor propagation - #3642

Merged
knutwannheden merged 4 commits into
openrewrite:mainfrom
BoykoAlex:autoformat-bug
Nov 2, 2023
Merged

knutwannheden merged 4 commits into
openrewrite:mainfrom
BoykoAlex:autoformat-bug

Conversation

@BoykoAlex

@BoykoAlex BoykoAlex commented Oct 23, 2023 •

Copy link
Copy Markdown
Contributor

Unit test and fix for #3641

When the `TreeVisitor` calls any scheduled after visitors, it must make sure that the cursor it sets on the after visitors doesn't end up having a parent cursor with the same value.
@knutwannheden knutwannheden linked an issue Oct 27, 2023 that may be closed by this pull request
@knutwannheden knutwannheden added the bug Something isn't working label Oct 27, 2023
@knutwannheden knutwannheden self-assigned this Oct 27, 2023
@knutwannheden knutwannheden changed the title Duplicate cursor issue unit test Fix after visitor cursor propagation Oct 27, 2023
@knutwannheden
knutwannheden merged commit d5ed2c5 into openrewrite:main Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Duplicate cursor while working with Java visitors

2 participants