On Tue, 6 Feb 2024 19:57:45 GMT, Jonathan Gibbons <j...@openjdk.org> wrote:

>> Uugh.  Noted.
>
> There are two cases that need consideration:
> 1. A tree that is not modified during the transformation, as in the test case 
> here, so that all nodes should be "as before"
> 2. A tree that is modified during the transformation, raising the issue of 
> the positions of the new node and any enclosing node

I found what I think was the issue, and I've pushed an initial fix for it, 
which passes improved versions of existing tests.
I'll follow up with more tests and perhaps include your test case here as well; 
thanks for providing it.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16388#discussion_r1480710301

Reply via email to